summaryrefslogtreecommitdiff
path: root/test/newsyntax.wast.fromBinary
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/newsyntax.wast.fromBinary
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/newsyntax.wast.fromBinary')
-rw-r--r--test/newsyntax.wast.fromBinary4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/newsyntax.wast.fromBinary b/test/newsyntax.wast.fromBinary
index ea3b1ac9a..5309fb3eb 100644
--- a/test/newsyntax.wast.fromBinary
+++ b/test/newsyntax.wast.fromBinary
@@ -5,13 +5,13 @@
(export "call_indirect" (func $0))
(func $0
(drop
- (call_indirect (type $i32_f64_=>_i32)
+ (call_indirect $timport$0 (type $i32_f64_=>_i32)
(i32.const 10)
(f64.const 20)
(i32.const 30)
)
)
- (call_indirect (type $none_=>_none)
+ (call_indirect $timport$0 (type $none_=>_none)
(i32.const 1)
)
)