summaryrefslogtreecommitdiff
path: root/test/wasm2js/break-drop.2asm.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/break-drop.2asm.js')
-rw-r--r--test/wasm2js/break-drop.2asm.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/wasm2js/break-drop.2asm.js b/test/wasm2js/break-drop.2asm.js
index 1bac6f453..b6e05c98b 100644
--- a/test/wasm2js/break-drop.2asm.js
+++ b/test/wasm2js/break-drop.2asm.js
@@ -41,8 +41,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 br = retasmFunc.br;
-export const br_if = retasmFunc.br_if;
-export const br_table = retasmFunc.br_table;
+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 br = retasmFunc.br;
+export var br_if = retasmFunc.br_if;
+export var br_table = retasmFunc.br_table;