summaryrefslogtreecommitdiff
path: root/test/unit.2asm.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-12-07 15:00:53 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-12-07 15:00:53 -0800
commit4b23bd513d926fb03e549bc1cf704a6016a91a70 (patch)
tree9e7850a54c41434de195a9dc568844aee0da1e89 /test/unit.2asm.js
parent75e8b709fe900efcfb53813f884a1cde6e81907b (diff)
downloadbinaryen-4b23bd513d926fb03e549bc1cf704a6016a91a70.tar.gz
binaryen-4b23bd513d926fb03e549bc1cf704a6016a91a70.tar.bz2
binaryen-4b23bd513d926fb03e549bc1cf704a6016a91a70.zip
emit asm function tables in wasm2asm
Diffstat (limited to 'test/unit.2asm.js')
-rw-r--r--test/unit.2asm.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit.2asm.js b/test/unit.2asm.js
index a8320d77c..b705e1e64 100644
--- a/test/unit.2asm.js
+++ b/test/unit.2asm.js
@@ -212,5 +212,7 @@ function asmFunc(global, env, buffer) {
}
+ var FUNCTION_TABLE_d = [importedDoubles, importedDoubles, importedDoubles, importedDoubles, importedDoubles, importedDoubles, importedDoubles, importedDoubles, importedDoubles, importedDoubles, importedDoubles, importedDoubles, importedDoubles, importedDoubles, importedDoubles, importedDoubles];
+ var FUNCTION_TABLE_v = [z, big_negative, z, z, w, w, z, w, z, neg, z, z, z, z, z, z];
}