diff options
Diffstat (limited to 'test/wasm2js/emscripten-grow-no.2asm.js')
-rw-r--r-- | test/wasm2js/emscripten-grow-no.2asm.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/wasm2js/emscripten-grow-no.2asm.js b/test/wasm2js/emscripten-grow-no.2asm.js index 96c4c195c..3b9c81248 100644 --- a/test/wasm2js/emscripten-grow-no.2asm.js +++ b/test/wasm2js/emscripten-grow-no.2asm.js @@ -1,6 +1,7 @@ function instantiate(asmLibraryArg, wasmMemory) { -function asmFunc(global, env, buffer) { +function asmFunc(global, env) { var memory = env.memory; + var buffer = memory.buffer; var HEAP8 = new global.Int8Array(buffer); var HEAP16 = new global.Int16Array(buffer); var HEAP32 = new global.Int32Array(buffer); |