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