summaryrefslogtreecommitdiff
path: root/test/wasm2js/hello_world.2asm.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/hello_world.2asm.js')
-rw-r--r--test/wasm2js/hello_world.2asm.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/wasm2js/hello_world.2asm.js b/test/wasm2js/hello_world.2asm.js
index 38dfc7c88..3d8a4c308 100644
--- a/test/wasm2js/hello_world.2asm.js
+++ b/test/wasm2js/hello_world.2asm.js
@@ -21,7 +21,6 @@ function asmFunc(global, env, buffer) {
var abort = env.abort;
var nan = global.NaN;
var infinity = global.Infinity;
- var i64toi32_i32$HIGH_BITS = 0;
function add(x, y) {
x = x | 0;
y = y | 0;
@@ -34,6 +33,6 @@ function asmFunc(global, env, buffer) {
};
}
-const memasmFunc = new ArrayBuffer(16777216);
+const memasmFunc = new ArrayBuffer(65536);
const retasmFunc = asmFunc({Math,Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,NaN,Infinity}, {abort:function() { throw new Error('abort'); }},memasmFunc);
export const add = retasmFunc.add;