diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2022-09-23 10:46:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-23 15:46:38 +0000 |
commit | e09fb5656d5e791051393bd08e6522f068ec7fe4 (patch) | |
tree | 4e332c0d970e106fdead031059e14946fd70cc6f /test/lit/passes/inlining_all-features.wast | |
parent | e750809428e447396c1568139bf970ce5a1b5aed (diff) | |
download | binaryen-e09fb5656d5e791051393bd08e6522f068ec7fe4.tar.gz binaryen-e09fb5656d5e791051393bd08e6522f068ec7fe4.tar.bz2 binaryen-e09fb5656d5e791051393bd08e6522f068ec7fe4.zip |
Emit call_ref with a type annotation (#5079)
Emit call_ref instructions with type annotations and a temporary opcode. Also
implement support for parsing optional type annotations on call_ref in the text
and binary formats. This is part of a multi-part graceful update to switch
Binaryen and all of its users over to using the type-annotated version of
call_ref without there being any breakage.
Diffstat (limited to 'test/lit/passes/inlining_all-features.wast')
-rw-r--r-- | test/lit/passes/inlining_all-features.wast | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lit/passes/inlining_all-features.wast b/test/lit/passes/inlining_all-features.wast index 59afe1ce9..5ce964ceb 100644 --- a/test/lit/passes/inlining_all-features.wast +++ b/test/lit/passes/inlining_all-features.wast @@ -142,7 +142,7 @@ ;; CHECK: (func $1 ;; CHECK-NEXT: (block $__inlined_func$0 ;; CHECK-NEXT: (block - ;; CHECK-NEXT: (call_ref + ;; CHECK-NEXT: (call_ref $none_=>_none ;; CHECK-NEXT: (ref.null $none_=>_none) ;; CHECK-NEXT: ) ;; CHECK-NEXT: (br $__inlined_func$0) @@ -153,7 +153,7 @@ ;; NOMNL: (func $1 (type $none_=>_none) ;; NOMNL-NEXT: (block $__inlined_func$0 ;; NOMNL-NEXT: (block - ;; NOMNL-NEXT: (call_ref + ;; NOMNL-NEXT: (call_ref $none_=>_none ;; NOMNL-NEXT: (ref.null $none_=>_none) ;; NOMNL-NEXT: ) ;; NOMNL-NEXT: (br $__inlined_func$0) |