summaryrefslogtreecommitdiff
path: root/test/wasm-only.fromasm
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm-only.fromasm')
-rw-r--r--test/wasm-only.fromasm25
1 files changed, 8 insertions, 17 deletions
diff --git a/test/wasm-only.fromasm b/test/wasm-only.fromasm
index f12226b1d..6ac8c0ef1 100644
--- a/test/wasm-only.fromasm
+++ b/test/wasm-only.fromasm
@@ -545,7 +545,7 @@
(get_local $0)
)
(loop $while-in
- (if
+ (br_if $__rjti$2
(i32.eq
(i32.load8_u
(get_local $2)
@@ -555,12 +555,6 @@
(i32.const 255)
)
)
- (block
- (set_local $0
- (get_local $3)
- )
- (br $__rjti$2)
- )
)
(br_if $while-in
(i32.and
@@ -603,20 +597,17 @@
)
)
)
- (if
+ (br_if $__rjti$2
(get_local $0)
- (block
- (set_local $0
- (get_local $3)
- )
- (br $__rjti$2)
- )
- (set_local $0
- (i32.const 0)
- )
+ )
+ (set_local $0
+ (i32.const 0)
)
(br $label$break$L8)
)
+ (set_local $0
+ (get_local $3)
+ )
(if
(i32.ne
(i32.load8_u