summaryrefslogtreecommitdiff
path: root/test/dot_s/basics.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/dot_s/basics.wast')
-rw-r--r--test/dot_s/basics.wast17
1 files changed, 9 insertions, 8 deletions
diff --git a/test/dot_s/basics.wast b/test/dot_s/basics.wast
index a3ce77ec2..a81cfd8a9 100644
--- a/test/dot_s/basics.wast
+++ b/test/dot_s/basics.wast
@@ -1,5 +1,6 @@
(module
(memory 52 4294967295 (segment 16 "hello, world!\n\00") (segment 32 "vcq") (segment 48 "\16\00\00\00"))
+ (type $FUNCSIG$vi (func (param i32)))
(import $puts "env" "puts" (param i32))
(export "main" $main)
(table $main)
@@ -9,8 +10,8 @@
(call_import $puts
(i32.const 16)
)
- (block $.LBB0_5
- (block $.LBB0_4
+ (block $label$0
+ (block $label$1
(br_if
(i32.ne
(i32.sub
@@ -31,9 +32,9 @@
)
(i32.const 1)
)
- $.LBB0_4
+ $label$1
)
- (loop $.LBB0_1
+ (loop $label$3 $label$2
(block
(set_local $$0
(i32.add
@@ -44,7 +45,7 @@
(get_local $$0)
)
)
- (block $.LBB0_3
+ (block $label$4
(br_if
(i32.ne
(i32.rem_s
@@ -53,7 +54,7 @@
)
(i32.const 3)
)
- $.LBB0_3
+ $label$4
)
(set_local $$0
(i32.add
@@ -73,9 +74,9 @@
)
(i32.const 0)
)
- $.LBB0_5
+ $label$1
)
- (br $.LBB0_1)
+ (br $label$2)
)
)
)