summaryrefslogtreecommitdiff
path: root/test/dot_s/traps.js.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/dot_s/traps.js.wast')
-rw-r--r--test/dot_s/traps.js.wast10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/dot_s/traps.js.wast b/test/dot_s/traps.js.wast
index 39d08f4c0..658301b32 100644
--- a/test/dot_s/traps.js.wast
+++ b/test/dot_s/traps.js.wast
@@ -7,7 +7,7 @@
(export "stackAlloc" (func $stackAlloc))
(export "stackRestore" (func $stackRestore))
(export "test_traps" (func $test_traps))
- (func $test_traps (param $0 f32) (param $1 f64) (result i32)
+ (func $test_traps (; 1 ;) (param $0 f32) (param $1 f64) (result i32)
(call $i32u-div
(call $f64-to-int
(f64.promote/f32
@@ -19,7 +19,7 @@
)
)
)
- (func $i32u-div (param $0 i32) (param $1 i32) (result i32)
+ (func $i32u-div (; 2 ;) (param $0 i32) (param $1 i32) (result i32)
(if (result i32)
(i32.eqz
(get_local $1)
@@ -31,12 +31,12 @@
)
)
)
- (func $stackSave (result i32)
+ (func $stackSave (; 3 ;) (result i32)
(i32.load offset=4
(i32.const 0)
)
)
- (func $stackAlloc (param $0 i32) (result i32)
+ (func $stackAlloc (; 4 ;) (param $0 i32) (result i32)
(local $1 i32)
(set_local $1
(i32.load offset=4
@@ -55,7 +55,7 @@
)
(get_local $1)
)
- (func $stackRestore (param $0 i32)
+ (func $stackRestore (; 5 ;) (param $0 i32)
(i32.store offset=4
(i32.const 0)
(get_local $0)