Skip to content

Commit

Permalink
simplify reloop testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
kripken committed May 24, 2017
1 parent c977ef7 commit fcbe14a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,15 @@
(get_local $0)
)
)
(loop $shape$9$continue
(call $trivial)
(br_if $shape$9$continue
(i32.eqz
(block $block$11$break
(loop $shape$9$continue
(call $trivial)
(br_if $block$11$break
(i32.eqz
(get_local $0)
)
)
(br $shape$9$continue)
)
)
)
Expand Down Expand Up @@ -184,6 +185,11 @@
)
)
(func $switch (type $3) (param $0 i32)
(block $switch$1$case$3
(br_table $switch$1$case$3 $switch$1$case$3
(get_local $0)
)
)
(block $block$6$break
(call $switch
(i32.const 1)
Expand Down Expand Up @@ -217,8 +223,9 @@
(call $if-br-wat
(i32.const 1)
)
(br_if $block$2$break
(if
(get_local $0)
(br $block$2$break)
)
)
(call $if-br-wat
Expand Down

0 comments on commit fcbe14a

Please sign in to comment.