summaryrefslogtreecommitdiff
path: root/test/wasm2js/emscripten-grow-no.2asm.js
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2020-09-21 16:39:46 -0700
committerGitHub <noreply@github.com>2020-09-21 16:39:46 -0700
commitee00f647750f23e6c24e67424bafab39b244c835 (patch)
treee99f91b24cda95a3292eccb92fec09a0e168ca66 /test/wasm2js/emscripten-grow-no.2asm.js
parent4d6e9ea2d1796c984e3ebc38d0b6abdf8049941a (diff)
downloadbinaryen-ee00f647750f23e6c24e67424bafab39b244c835.tar.gz
binaryen-ee00f647750f23e6c24e67424bafab39b244c835.tar.bz2
binaryen-ee00f647750f23e6c24e67424bafab39b244c835.zip
wasm2js: Support exported tables (#3152)
Diffstat (limited to 'test/wasm2js/emscripten-grow-no.2asm.js')
-rw-r--r--test/wasm2js/emscripten-grow-no.2asm.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/wasm2js/emscripten-grow-no.2asm.js b/test/wasm2js/emscripten-grow-no.2asm.js
index dde2dd0ce..96c4c195c 100644
--- a/test/wasm2js/emscripten-grow-no.2asm.js
+++ b/test/wasm2js/emscripten-grow-no.2asm.js
@@ -1,5 +1,4 @@
-function instantiate(asmLibraryArg, wasmMemory, wasmTable) {
-
+function instantiate(asmLibraryArg, wasmMemory) {
function asmFunc(global, env, buffer) {
var memory = env.memory;
var HEAP8 = new global.Int8Array(buffer);
@@ -26,7 +25,6 @@ function asmFunc(global, env, buffer) {
;
// EMSCRIPTEN_END_FUNCS
;
- var FUNCTION_TABLE = [];
function __wasm_memory_size() {
return buffer.byteLength / 65536 | 0;
}