diff options
Diffstat (limited to 'test/lit/passes/asyncify_enable-multivalue.wast')
-rw-r--r-- | test/lit/passes/asyncify_enable-multivalue.wast | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/lit/passes/asyncify_enable-multivalue.wast b/test/lit/passes/asyncify_enable-multivalue.wast index e5834b114..f29edd4a5 100644 --- a/test/lit/passes/asyncify_enable-multivalue.wast +++ b/test/lit/passes/asyncify_enable-multivalue.wast @@ -5,11 +5,12 @@ ;; Pre-existing imports that the pass turns into the implementations. (module - (memory 1 2) (import "asyncify" "start_unwind" (func $asyncify_start_unwind (param i32))) (import "asyncify" "stop_unwind" (func $asyncify_stop_unwind)) (import "asyncify" "start_rewind" (func $asyncify_start_rewind (param i32))) (import "asyncify" "stop_rewind" (func $asyncify_stop_rewind)) + + (memory 1 2) ;; CHECK: (type $0 (func)) ;; CHECK: (type $1 (func (param i32))) @@ -404,7 +405,6 @@ ;; CHECK-NEXT: (global.get $__asyncify_state) ;; CHECK-NEXT: ) (module - (memory 1 2) ;; CHECK: (type $0 (func)) ;; CHECK: (type $1 (func (param i32))) @@ -423,6 +423,8 @@ (import "env" "import3" (func $import3 (param i32))) ;; CHECK: (import "env" "import-mv" (func $import-mv (result i32 i64))) (import "env" "import-mv" (func $import-mv (result i32 i64))) + + (memory 1 2) ;; CHECK: (global $__asyncify_state (mut i32) (i32.const 0)) ;; CHECK: (global $__asyncify_data (mut i32) (i32.const 0)) |