summaryrefslogtreecommitdiff
path: root/test/binaryen.js/tail_calls.js
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/binaryen.js/tail_calls.js
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/binaryen.js/tail_calls.js')
-rw-r--r--test/binaryen.js/tail_calls.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/binaryen.js/tail_calls.js b/test/binaryen.js/tail_calls.js
index 1b993be91..61fe5d829 100644
--- a/test/binaryen.js/tail_calls.js
+++ b/test/binaryen.js/tail_calls.js
@@ -18,6 +18,7 @@ var bar = module.addFunction(
binaryen.none,
[],
module.return_call_indirect(
+ "0",
module.i32.const(0),
[],
binaryen.none,