diff options
Diffstat (limited to 'test/wasm2js/get-set-local.2asm.js')
-rw-r--r-- | test/wasm2js/get-set-local.2asm.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/wasm2js/get-set-local.2asm.js b/test/wasm2js/get-set-local.2asm.js index c3f1a9986..9150e1f8a 100644 --- a/test/wasm2js/get-set-local.2asm.js +++ b/test/wasm2js/get-set-local.2asm.js @@ -74,6 +74,6 @@ 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 check_extend_ui32 = retasmFunc.check_extend_ui32; +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 check_extend_ui32 = retasmFunc.check_extend_ui32; |