diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2021-07-08 18:15:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-08 11:15:13 -0700 |
commit | 397a06e5992b11eb89493b0ebce08990bd2830c2 (patch) | |
tree | 49fb77f5f361997b85769879c4ec5a2694d83daf /test/passes/asyncify_mod-asyncify-always-and-only-unwind_O.txt | |
parent | 0a682d32870c3a7b2c908b0d7d7cab95338393c5 (diff) | |
download | binaryen-397a06e5992b11eb89493b0ebce08990bd2830c2.tar.gz binaryen-397a06e5992b11eb89493b0ebce08990bd2830c2.tar.bz2 binaryen-397a06e5992b11eb89493b0ebce08990bd2830c2.zip |
Port test/passes/asyncify* to lit (#3970)
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 | 94 |
1 files changed, 0 insertions, 94 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 deleted file mode 100644 index 735ae3551..000000000 --- a/test/passes/asyncify_mod-asyncify-always-and-only-unwind_O.txt +++ /dev/null @@ -1,94 +0,0 @@ -(module - (type $none_=>_none (func)) - (type $i32_=>_none (func (param i32))) - (type $none_=>_i32 (func (result i32))) - (import "env" "import" (func $import)) - (global $__asyncify_state (mut i32) (i32.const 0)) - (global $__asyncify_data (mut i32) (i32.const 0)) - (memory $0 1 2) - (export "calls-import" (func $calls-import)) - (export "calls-import2" (func $calls-import)) - (export "calls-import2-drop" (func $calls-import)) - (export "calls-nothing" (func $calls-import)) - (export "asyncify_start_unwind" (func $asyncify_start_unwind)) - (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 (; has Stack IR ;) - (local $0 i32) - (call $import) - (i32.store - (i32.load - (global.get $__asyncify_data) - ) - (local.get $0) - ) - (i32.store - (global.get $__asyncify_data) - (i32.add - (i32.load - (global.get $__asyncify_data) - ) - (i32.const 4) - ) - ) - ) - (func $asyncify_start_unwind (; has Stack IR ;) (param $0 i32) - (global.set $__asyncify_state - (i32.const 1) - ) - (global.set $__asyncify_data - (local.get $0) - ) - (if - (i32.gt_u - (i32.load - (global.get $__asyncify_data) - ) - (i32.load offset=4 - (global.get $__asyncify_data) - ) - ) - (unreachable) - ) - ) - (func $asyncify_stop_unwind (; has Stack IR ;) - (global.set $__asyncify_state - (i32.const 0) - ) - (if - (i32.gt_u - (i32.load - (global.get $__asyncify_data) - ) - (i32.load offset=4 - (global.get $__asyncify_data) - ) - ) - (unreachable) - ) - ) - (func $asyncify_start_rewind (; has Stack IR ;) (param $0 i32) - (global.set $__asyncify_state - (i32.const 2) - ) - (global.set $__asyncify_data - (local.get $0) - ) - (if - (i32.gt_u - (i32.load - (global.get $__asyncify_data) - ) - (i32.load offset=4 - (global.get $__asyncify_data) - ) - ) - (unreachable) - ) - ) - (func $asyncify_get_state (; has Stack IR ;) (result i32) - (global.get $__asyncify_state) - ) -) |