diff options
Diffstat (limited to 'test/lit/passes/generate-dyncalls_all-features.wast')
-rw-r--r-- | test/lit/passes/generate-dyncalls_all-features.wast | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/lit/passes/generate-dyncalls_all-features.wast b/test/lit/passes/generate-dyncalls_all-features.wast index 5f29a365d..63ca6a632 100644 --- a/test/lit/passes/generate-dyncalls_all-features.wast +++ b/test/lit/passes/generate-dyncalls_all-features.wast @@ -28,13 +28,13 @@ ;; CHECK: (export "dynCall_vii" (func $dynCall_vii)) - ;; CHECK: (func $f1 (result i32) + ;; CHECK: (func $f1 (type $none_=>_i32) (result i32) ;; CHECK-NEXT: (i32.const 1024) ;; CHECK-NEXT: ) (func $f1 (result i32) (i32.const 1024) ) - ;; CHECK: (func $f2 (param $0 i32) (result i64) + ;; CHECK: (func $f2 (type $i32_=>_i64) (param $0 i32) (result i64) ;; CHECK-NEXT: (i64.const 42) ;; CHECK-NEXT: ) (func $f2 (param i32) (result i64) @@ -43,20 +43,20 @@ (table 2 2 funcref) (elem (i32.const 0) $f1 $f2) ) -;; CHECK: (func $dynCall_i (param $fptr i32) (result i32) +;; CHECK: (func $dynCall_i (type $i32_=>_i32) (param $fptr i32) (result i32) ;; CHECK-NEXT: (call_indirect $0 (type $none_=>_i32) ;; CHECK-NEXT: (local.get $fptr) ;; CHECK-NEXT: ) ;; CHECK-NEXT: ) -;; CHECK: (func $dynCall_ji (param $fptr i32) (param $0 i32) (result i64) +;; CHECK: (func $dynCall_ji (type $i32_i32_=>_i64) (param $fptr i32) (param $0 i32) (result i64) ;; CHECK-NEXT: (call_indirect $0 (type $i32_=>_i64) ;; CHECK-NEXT: (local.get $0) ;; CHECK-NEXT: (local.get $fptr) ;; CHECK-NEXT: ) ;; CHECK-NEXT: ) -;; CHECK: (func $dynCall_vii (param $fptr i32) (param $0 i32) (param $1 i32) +;; CHECK: (func $dynCall_vii (type $i32_i32_i32_=>_none) (param $fptr i32) (param $0 i32) (param $1 i32) ;; CHECK-NEXT: (call_indirect $0 (type $i32_i32_=>_none) ;; CHECK-NEXT: (local.get $0) ;; CHECK-NEXT: (local.get $1) @@ -83,20 +83,20 @@ ;; CHECK: (export "dynCall_vii" (func $dynCall_vii)) - ;; CHECK: (func $f (result i32) + ;; CHECK: (func $f (type $none_=>_i32) (result i32) ;; CHECK-NEXT: (i32.const 42) ;; CHECK-NEXT: ) (func $f (result i32) (i32.const 42) ) ) -;; CHECK: (func $dynCall_i (param $fptr i32) (result i32) +;; CHECK: (func $dynCall_i (type $i32_=>_i32) (param $fptr i32) (result i32) ;; CHECK-NEXT: (call_indirect $timport$0 (type $none_=>_i32) ;; CHECK-NEXT: (local.get $fptr) ;; CHECK-NEXT: ) ;; CHECK-NEXT: ) -;; CHECK: (func $dynCall_vii (param $fptr i32) (param $0 i32) (param $1 i32) +;; CHECK: (func $dynCall_vii (type $i32_i32_i32_=>_none) (param $fptr i32) (param $0 i32) (param $1 i32) ;; CHECK-NEXT: (call_indirect $timport$0 (type $i32_i32_=>_none) ;; CHECK-NEXT: (local.get $0) ;; CHECK-NEXT: (local.get $1) |