Skip to content

Commit 3ca7b8a

Browse files
committed
Update lit tests according changes
1 parent 1378904 commit 3ca7b8a

File tree

3 files changed

+234
-760
lines changed

3 files changed

+234
-760
lines changed

test/lit/passes/asyncify_pass-arg=asyncify-asserts_pass-arg=asyncify-onlylist@waka.wast

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
(module
1212
;; CHECK: (type $f (func))
1313
(type $f (func))
14-
;; CHECK: (type $1 (func (result i32)))
14+
;; CHECK: (type $1 (func (param i32)))
1515

16-
;; CHECK: (type $2 (func (param i32)))
16+
;; CHECK: (type $2 (func (result i32)))
1717

1818
;; CHECK: (import "env" "import" (func $import))
1919
(import "env" "import" (func $import))
@@ -27,8 +27,6 @@
2727
(table funcref (elem $calls-import2-drop $calls-import2-drop))
2828
;; CHECK: (global $__asyncify_state (mut i32) (i32.const 0))
2929

30-
;; CHECK: (global $__asyncify_catch_counter (mut i32) (i32.const 0))
31-
3230
;; CHECK: (global $__asyncify_data (mut i32) (i32.const 0))
3331

3432
;; CHECK: (memory $0 1 2)
@@ -47,8 +45,6 @@
4745

4846
;; CHECK: (export "asyncify_get_state" (func $asyncify_get_state))
4947

50-
;; CHECK: (export "asyncify_get_catch_counter" (func $asyncify_get_catch_counter))
51-
5248
;; CHECK: (func $calls-import
5349
;; CHECK-NEXT: (local $0 i32)
5450
;; CHECK-NEXT: (local.set $0
@@ -158,15 +154,6 @@
158154
)
159155

160156
;; CHECK: (func $asyncify_start_unwind (param $0 i32)
161-
;; CHECK-NEXT: (if
162-
;; CHECK-NEXT: (i32.ne
163-
;; CHECK-NEXT: (global.get $__asyncify_catch_counter)
164-
;; CHECK-NEXT: (i32.const 0)
165-
;; CHECK-NEXT: )
166-
;; CHECK-NEXT: (then
167-
;; CHECK-NEXT: (unreachable)
168-
;; CHECK-NEXT: )
169-
;; CHECK-NEXT: )
170157
;; CHECK-NEXT: (global.set $__asyncify_state
171158
;; CHECK-NEXT: (i32.const 1)
172159
;; CHECK-NEXT: )
@@ -251,7 +238,3 @@
251238
;; CHECK: (func $asyncify_get_state (result i32)
252239
;; CHECK-NEXT: (global.get $__asyncify_state)
253240
;; CHECK-NEXT: )
254-
255-
;; CHECK: (func $asyncify_get_catch_counter (result i32)
256-
;; CHECK-NEXT: (global.get $__asyncify_catch_counter)
257-
;; CHECK-NEXT: )

0 commit comments

Comments
 (0)