diff options
Diffstat (limited to 'test/passes/asyncify_mod-asyncify-never-unwind.txt')
-rw-r--r-- | test/passes/asyncify_mod-asyncify-never-unwind.txt | 50 |
1 files changed, 17 insertions, 33 deletions
diff --git a/test/passes/asyncify_mod-asyncify-never-unwind.txt b/test/passes/asyncify_mod-asyncify-never-unwind.txt index 1806e1fcd..b0ba19de0 100644 --- a/test/passes/asyncify_mod-asyncify-never-unwind.txt +++ b/test/passes/asyncify_mod-asyncify-never-unwind.txt @@ -50,35 +50,26 @@ ) ) ) - (block - (if - (if (result i32) - (i32.eq - (global.get $__asyncify_state) - (i32.const 0) - ) - (i32.const 1) - (i32.eq - (local.get $1) - (i32.const 0) - ) + (if + (if (result i32) + (i32.eq + (global.get $__asyncify_state) + (i32.const 0) ) - (block - (call $import) - (if - (i32.const 0) - (br $__asyncify_unwind - (i32.const 0) - ) - ) + (i32.const 1) + (i32.eq + (local.get $1) + (i32.const 0) ) ) - (if - (i32.eq - (global.get $__asyncify_state) + (block + (call $import) + (if (i32.const 0) + (br $__asyncify_unwind + (i32.const 0) + ) ) - (nop) ) ) ) @@ -228,7 +219,6 @@ (local.set $temp (local.get $1) ) - (nop) (local.set $2 (local.get $temp) ) @@ -239,7 +229,6 @@ ) (nop) (nop) - (nop) ) (unreachable) ) @@ -397,14 +386,10 @@ (global.get $__asyncify_state) (i32.const 0) ) - (block - (drop - (local.get $0) - ) - (nop) + (drop + (local.get $0) ) ) - (nop) ) ) (return) @@ -459,7 +444,6 @@ (drop (local.get $0) ) - (nop) ) (func $asyncify_start_unwind (; 7 ;) (param $0 i32) (global.set $__asyncify_state |