summaryrefslogtreecommitdiff
path: root/test/unit.fromasm
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit.fromasm')
-rw-r--r--test/unit.fromasm12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/unit.fromasm b/test/unit.fromasm
index 8a8b2ebd9..93d654845 100644
--- a/test/unit.fromasm
+++ b/test/unit.fromasm
@@ -442,13 +442,13 @@
(i32.const 1)
)
(loop $for-out$0 $for-in$1
- (if
- (i32.lt_s
- (get_local $i)
- (i32.const 200)
+ (br_if $for-out$0
+ (i32.eqz
+ (i32.lt_s
+ (get_local $i)
+ (i32.const 200)
+ )
)
- (nop)
- (br $for-out$0)
)
(call_import $h
(get_local $i)