diff options
author | Sam Clegg <sbc@chromium.org> | 2020-09-21 16:39:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-21 16:39:46 -0700 |
commit | ee00f647750f23e6c24e67424bafab39b244c835 (patch) | |
tree | e99f91b24cda95a3292eccb92fec09a0e168ca66 /test/wasm2js/emscripten-grow-no.2asm.js | |
parent | 4d6e9ea2d1796c984e3ebc38d0b6abdf8049941a (diff) | |
download | binaryen-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.js | 4 |
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; } |