diff options
Diffstat (limited to 'test/passes/asyncify_pass-arg=asyncify-ignore-imports.txt')
-rw-r--r-- | test/passes/asyncify_pass-arg=asyncify-ignore-imports.txt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/passes/asyncify_pass-arg=asyncify-ignore-imports.txt b/test/passes/asyncify_pass-arg=asyncify-ignore-imports.txt index 8c0d3c801..b1854fb5d 100644 --- a/test/passes/asyncify_pass-arg=asyncify-ignore-imports.txt +++ b/test/passes/asyncify_pass-arg=asyncify-ignore-imports.txt @@ -15,10 +15,10 @@ (export "asyncify_start_rewind" (func $asyncify_start_rewind)) (export "asyncify_stop_rewind" (func $asyncify_stop_rewind)) (export "asyncify_get_state" (func $asyncify_get_state)) - (func $calls-import (; 3 ;) + (func $calls-import (call $import) ) - (func $calls-import2-drop (; 4 ;) + (func $calls-import2-drop (local $0 i32) (local.set $0 (call $import2) @@ -27,7 +27,7 @@ (local.get $0) ) ) - (func $calls-import2-if-else (; 5 ;) (param $x i32) + (func $calls-import2-if-else (param $x i32) (local $1 i32) (local.set $1 (local.get $x) @@ -42,7 +42,7 @@ ) ) ) - (func $calls-indirect (; 6 ;) (param $x i32) + (func $calls-indirect (param $x i32) (local $1 i32) (local $2 i32) (local $3 i32) @@ -193,7 +193,7 @@ ) ) ) - (func $asyncify_start_unwind (; 7 ;) (param $0 i32) + (func $asyncify_start_unwind (param $0 i32) (global.set $__asyncify_state (i32.const 1) ) @@ -212,7 +212,7 @@ (unreachable) ) ) - (func $asyncify_stop_unwind (; 8 ;) + (func $asyncify_stop_unwind (global.set $__asyncify_state (i32.const 0) ) @@ -228,7 +228,7 @@ (unreachable) ) ) - (func $asyncify_start_rewind (; 9 ;) (param $0 i32) + (func $asyncify_start_rewind (param $0 i32) (global.set $__asyncify_state (i32.const 2) ) @@ -247,7 +247,7 @@ (unreachable) ) ) - (func $asyncify_stop_rewind (; 10 ;) + (func $asyncify_stop_rewind (global.set $__asyncify_state (i32.const 0) ) @@ -263,7 +263,7 @@ (unreachable) ) ) - (func $asyncify_get_state (; 11 ;) (result i32) + (func $asyncify_get_state (result i32) (global.get $__asyncify_state) ) ) |