summaryrefslogtreecommitdiff
path: root/test/wasm2js/grow-memory-tricky.2asm.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/grow-memory-tricky.2asm.js')
-rw-r--r--test/wasm2js/grow-memory-tricky.2asm.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/wasm2js/grow-memory-tricky.2asm.js b/test/wasm2js/grow-memory-tricky.2asm.js
index b3f2408c3..a8e523002 100644
--- a/test/wasm2js/grow-memory-tricky.2asm.js
+++ b/test/wasm2js/grow-memory-tricky.2asm.js
@@ -82,8 +82,8 @@ function asmFunc(global, env, buffer) {
};
}
-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 memory = retasmFunc.memory;
-export const f1 = retasmFunc.f1;
-export const f2 = retasmFunc.f2;
+var memasmFunc = new ArrayBuffer(65536);
+var retasmFunc = asmFunc({Math,Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,NaN,Infinity}, {abort:function() { throw new Error('abort'); }},memasmFunc);
+export var memory = retasmFunc.memory;
+export var f1 = retasmFunc.f1;
+export var f2 = retasmFunc.f2;