summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/d8/brif-loop.txt2
-rw-r--r--test/d8/brif.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/d8/brif-loop.txt b/test/d8/brif-loop.txt
index fc559649..8c3498ff 100644
--- a/test/d8/brif-loop.txt
+++ b/test/d8/brif-loop.txt
@@ -4,7 +4,7 @@
(local i32)
(loop $cont
(set_local 1 (i32.add (get_local 1) (i32.const 1)))
- (br_if (i32.lt_s (get_local 1) (get_local 0)) $cont))
+ (br_if $cont (i32.lt_s (get_local 1) (get_local 0))))
(return (get_local 1)))
(export "test1" $test1)
diff --git a/test/d8/brif.txt b/test/d8/brif.txt
index 2e3ef8f7..528f11b7 100644
--- a/test/d8/brif.txt
+++ b/test/d8/brif.txt
@@ -2,7 +2,7 @@
(module
(func $f (param i32) (result i32)
(block $exit
- (br_if (get_local 0) $exit)
+ (br_if $exit (get_local 0))
(return (i32.const 1)))
(return (i32.const 2)))