summaryrefslogtreecommitdiff
path: root/test/reference-types.wast.fromBinary.noDebugInfo
diff options
context:
space:
mode:
authorAbbas Mashayekh <martianboy2005@gmail.com>2021-02-10 01:17:28 +0330
committerGitHub <noreply@github.com>2021-02-09 13:47:28 -0800
commit3da8b08ecd57f5662bebc69ea73bf59e1928341e (patch)
tree2902eedc161579eaf37a1aed463de95916eee703 /test/reference-types.wast.fromBinary.noDebugInfo
parenta12a8250da24aa5b5787bf89562b243fdc514302 (diff)
downloadbinaryen-3da8b08ecd57f5662bebc69ea73bf59e1928341e.tar.gz
binaryen-3da8b08ecd57f5662bebc69ea73bf59e1928341e.tar.bz2
binaryen-3da8b08ecd57f5662bebc69ea73bf59e1928341e.zip
[reference-types] remove single table restriction in IR (#3517)
Adds support for modules with multiple tables. Adds a field for the table name to `CallIndirect` and updates the C/JS APIs accordingly.
Diffstat (limited to 'test/reference-types.wast.fromBinary.noDebugInfo')
-rw-r--r--test/reference-types.wast.fromBinary.noDebugInfo34
1 files changed, 17 insertions, 17 deletions
diff --git a/test/reference-types.wast.fromBinary.noDebugInfo b/test/reference-types.wast.fromBinary.noDebugInfo
index 08186f32b..23c2bb03b 100644
--- a/test/reference-types.wast.fromBinary.noDebugInfo
+++ b/test/reference-types.wast.fromBinary.noDebugInfo
@@ -191,71 +191,71 @@
(call $2
(ref.func $3)
)
- (call_indirect (type $externref_=>_none)
+ (call_indirect $0 (type $externref_=>_none)
(local.get $1)
(i32.const 0)
)
- (call_indirect (type $externref_=>_none)
+ (call_indirect $0 (type $externref_=>_none)
(global.get $global$0)
(i32.const 0)
)
- (call_indirect (type $externref_=>_none)
+ (call_indirect $0 (type $externref_=>_none)
(ref.null extern)
(i32.const 0)
)
- (call_indirect (type $funcref_=>_none)
+ (call_indirect $0 (type $funcref_=>_none)
(local.get $0)
(i32.const 1)
)
- (call_indirect (type $funcref_=>_none)
+ (call_indirect $0 (type $funcref_=>_none)
(global.get $global$1)
(i32.const 1)
)
- (call_indirect (type $funcref_=>_none)
+ (call_indirect $0 (type $funcref_=>_none)
(ref.null func)
(i32.const 1)
)
- (call_indirect (type $funcref_=>_none)
+ (call_indirect $0 (type $funcref_=>_none)
(ref.func $3)
(i32.const 1)
)
- (call_indirect (type $anyref_=>_none)
+ (call_indirect $0 (type $anyref_=>_none)
(local.get $2)
(i32.const 3)
)
- (call_indirect (type $anyref_=>_none)
+ (call_indirect $0 (type $anyref_=>_none)
(global.get $global$3)
(i32.const 3)
)
- (call_indirect (type $anyref_=>_none)
+ (call_indirect $0 (type $anyref_=>_none)
(ref.null any)
(i32.const 3)
)
- (call_indirect (type $anyref_=>_none)
+ (call_indirect $0 (type $anyref_=>_none)
(local.get $1)
(i32.const 3)
)
- (call_indirect (type $anyref_=>_none)
+ (call_indirect $0 (type $anyref_=>_none)
(global.get $global$0)
(i32.const 3)
)
- (call_indirect (type $anyref_=>_none)
+ (call_indirect $0 (type $anyref_=>_none)
(ref.null extern)
(i32.const 3)
)
- (call_indirect (type $anyref_=>_none)
+ (call_indirect $0 (type $anyref_=>_none)
(local.get $0)
(i32.const 3)
)
- (call_indirect (type $anyref_=>_none)
+ (call_indirect $0 (type $anyref_=>_none)
(global.get $global$1)
(i32.const 3)
)
- (call_indirect (type $anyref_=>_none)
+ (call_indirect $0 (type $anyref_=>_none)
(ref.null func)
(i32.const 3)
)
- (call_indirect (type $anyref_=>_none)
+ (call_indirect $0 (type $anyref_=>_none)
(ref.func $3)
(i32.const 3)
)