summaryrefslogtreecommitdiff
path: root/test/wasm2js/reinterpret_scratch.2asm.js.opt
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/reinterpret_scratch.2asm.js.opt')
-rw-r--r--test/wasm2js/reinterpret_scratch.2asm.js.opt18
1 files changed, 17 insertions, 1 deletions
diff --git a/test/wasm2js/reinterpret_scratch.2asm.js.opt b/test/wasm2js/reinterpret_scratch.2asm.js.opt
index 2552bbbc8..7dd385e06 100644
--- a/test/wasm2js/reinterpret_scratch.2asm.js.opt
+++ b/test/wasm2js/reinterpret_scratch.2asm.js.opt
@@ -54,5 +54,21 @@ function asmFunc(global, env, buffer) {
var memasmFunc = new ArrayBuffer(65536);
var bufferView = new Uint8Array(memasmFunc);
-var retasmFunc = asmFunc({Math,Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,NaN,Infinity}, {abort:function() { throw new Error('abort'); }},memasmFunc);
+var retasmFunc = asmFunc({
+ Math,
+ Int8Array,
+ Uint8Array,
+ Int16Array,
+ Uint16Array,
+ Int32Array,
+ Uint32Array,
+ Float32Array,
+ Float64Array,
+ NaN,
+ Infinity
+ }, {
+ abort: function() { throw new Error('abort'); }
+ },
+ memasmFunc
+);
export var foo = retasmFunc.foo;