diff options
Diffstat (limited to 'test/wasm2js/emscripten.2asm.js.opt')
-rw-r--r-- | test/wasm2js/emscripten.2asm.js.opt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/wasm2js/emscripten.2asm.js.opt b/test/wasm2js/emscripten.2asm.js.opt index 8de23758f..bd813d0f6 100644 --- a/test/wasm2js/emscripten.2asm.js.opt +++ b/test/wasm2js/emscripten.2asm.js.opt @@ -1,7 +1,5 @@ function instantiate(asmLibraryArg, wasmMemory) { -function asmFunc(global, env) { - var memory = env.memory; - var buffer = memory.buffer; +function asmFunc(global, env, buffer) { var FUNCTION_TABLE = env.table; var HEAP8 = new global.Int8Array(buffer); var HEAP16 = new global.Int16Array(buffer); |