diff options
Diffstat (limited to 'test/passes/asyncify_mod-asyncify-always-and-only-unwind_O.txt')
-rw-r--r-- | test/passes/asyncify_mod-asyncify-always-and-only-unwind_O.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/passes/asyncify_mod-asyncify-always-and-only-unwind_O.txt b/test/passes/asyncify_mod-asyncify-always-and-only-unwind_O.txt index 68359770d..aa8a7bd40 100644 --- a/test/passes/asyncify_mod-asyncify-always-and-only-unwind_O.txt +++ b/test/passes/asyncify_mod-asyncify-always-and-only-unwind_O.txt @@ -1,6 +1,7 @@ (module (type $none_=>_none (func)) (type $i32_=>_none (func (param i32))) + (type $none_=>_i32 (func (result i32))) (import "env" "import" (func $import)) (memory $0 1 2) (global $__asyncify_state (mut i32) (i32.const 0)) @@ -13,6 +14,7 @@ (export "asyncify_stop_unwind" (func $asyncify_stop_unwind)) (export "asyncify_start_rewind" (func $asyncify_start_rewind)) (export "asyncify_stop_rewind" (func $asyncify_stop_unwind)) + (export "asyncify_get_state" (func $asyncify_get_state)) (func $calls-import (; 1 ;) (; has Stack IR ;) (local $0 i32) (call $import) @@ -86,4 +88,7 @@ (unreachable) ) ) + (func $asyncify_get_state (; 5 ;) (; has Stack IR ;) (result i32) + (global.get $__asyncify_state) + ) ) |