diff options
Diffstat (limited to 'test/passes/asyncify_pass-arg=asyncify-whitelist@foo,bar.txt')
-rw-r--r-- | test/passes/asyncify_pass-arg=asyncify-whitelist@foo,bar.txt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/passes/asyncify_pass-arg=asyncify-whitelist@foo,bar.txt b/test/passes/asyncify_pass-arg=asyncify-whitelist@foo,bar.txt index ea0975afd..30d4f0f10 100644 --- a/test/passes/asyncify_pass-arg=asyncify-whitelist@foo,bar.txt +++ b/test/passes/asyncify_pass-arg=asyncify-whitelist@foo,bar.txt @@ -11,7 +11,7 @@ (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 $foo (; 1 ;) + (func $foo (local $0 i32) (local $1 i32) (if @@ -98,7 +98,7 @@ ) (nop) ) - (func $bar (; 2 ;) + (func $bar (local $0 i32) (local $1 i32) (if @@ -185,16 +185,16 @@ ) (nop) ) - (func $baz (; 3 ;) + (func $baz (call $import) ) - (func $other1 (; 4 ;) + (func $other1 (call $foo) ) - (func $other2 (; 5 ;) + (func $other2 (call $baz) ) - (func $asyncify_start_unwind (; 6 ;) (param $0 i32) + (func $asyncify_start_unwind (param $0 i32) (global.set $__asyncify_state (i32.const 1) ) @@ -213,7 +213,7 @@ (unreachable) ) ) - (func $asyncify_stop_unwind (; 7 ;) + (func $asyncify_stop_unwind (global.set $__asyncify_state (i32.const 0) ) @@ -229,7 +229,7 @@ (unreachable) ) ) - (func $asyncify_start_rewind (; 8 ;) (param $0 i32) + (func $asyncify_start_rewind (param $0 i32) (global.set $__asyncify_state (i32.const 2) ) @@ -248,7 +248,7 @@ (unreachable) ) ) - (func $asyncify_stop_rewind (; 9 ;) + (func $asyncify_stop_rewind (global.set $__asyncify_state (i32.const 0) ) @@ -264,7 +264,7 @@ (unreachable) ) ) - (func $asyncify_get_state (; 10 ;) (result i32) + (func $asyncify_get_state (result i32) (global.get $__asyncify_state) ) ) |