diff options
Diffstat (limited to 'test/lit/merge/fusing.wat')
-rw-r--r-- | test/lit/merge/fusing.wat | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/lit/merge/fusing.wat b/test/lit/merge/fusing.wat index 2680889e0..c38f84409 100644 --- a/test/lit/merge/fusing.wat +++ b/test/lit/merge/fusing.wat @@ -21,11 +21,11 @@ (import "second" "mem" (memory $other.mem 1)) ;; This import will remain unresolved. - ;; CHECK: (type $none_=>_none (func)) + ;; CHECK: (type $0 (func)) - ;; CHECK: (type $none_=>_i32 (func (result i32))) + ;; CHECK: (type $1 (func (result i32))) - ;; CHECK: (import "third" "missing" (func $other.missing (type $none_=>_none))) + ;; CHECK: (import "third" "missing" (func $other.missing (type $0))) (import "third" "missing" (func $other.missing)) ;; CHECK: (memory $first.mem 2) @@ -54,7 +54,7 @@ ;; CHECK: (export "keepalive3" (func $keepalive3)) - ;; CHECK: (func $first.foo (type $none_=>_none) + ;; CHECK: (func $first.foo (type $0) ;; CHECK-NEXT: (drop ;; CHECK-NEXT: (i32.const 1) ;; CHECK-NEXT: ) @@ -67,7 +67,7 @@ (call $other.foo) ) - ;; CHECK: (func $bar (type $none_=>_none) + ;; CHECK: (func $bar (type $0) ;; CHECK-NEXT: (drop ;; CHECK-NEXT: (i32.const 2) ;; CHECK-NEXT: ) @@ -82,7 +82,7 @@ (call $other.missing) ) - ;; CHECK: (func $keepalive (type $none_=>_i32) (result i32) + ;; CHECK: (func $keepalive (type $1) (result i32) ;; CHECK-NEXT: (i32.load $second.mem ;; CHECK-NEXT: (i32.const 10) ;; CHECK-NEXT: ) @@ -100,26 +100,26 @@ (tag $exn (export "exn")) ) -;; CHECK: (func $second.foo (type $none_=>_none) +;; CHECK: (func $second.foo (type $0) ;; CHECK-NEXT: (call $first.foo) ;; CHECK-NEXT: (drop ;; CHECK-NEXT: (i32.const 3) ;; CHECK-NEXT: ) ;; CHECK-NEXT: ) -;; CHECK: (func $bar_6 (type $none_=>_none) +;; CHECK: (func $bar_6 (type $0) ;; CHECK-NEXT: (call $bar) ;; CHECK-NEXT: (drop ;; CHECK-NEXT: (i32.const 4) ;; CHECK-NEXT: ) ;; CHECK-NEXT: ) -;; CHECK: (func $keepalive2 (type $none_=>_i32) (result i32) +;; CHECK: (func $keepalive2 (type $1) (result i32) ;; CHECK-NEXT: (i32.load $first.mem ;; CHECK-NEXT: (i32.const 10) ;; CHECK-NEXT: ) ;; CHECK-NEXT: ) -;; CHECK: (func $keepalive3 (type $none_=>_none) +;; CHECK: (func $keepalive3 (type $0) ;; CHECK-NEXT: (throw $exn) ;; CHECK-NEXT: ) |