summaryrefslogtreecommitdiff
path: root/test/wasm2js/reinterpret_scratch.2asm.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/reinterpret_scratch.2asm.js')
-rw-r--r--test/wasm2js/reinterpret_scratch.2asm.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/wasm2js/reinterpret_scratch.2asm.js b/test/wasm2js/reinterpret_scratch.2asm.js
index c36595d33..d5f098724 100644
--- a/test/wasm2js/reinterpret_scratch.2asm.js
+++ b/test/wasm2js/reinterpret_scratch.2asm.js
@@ -18,8 +18,7 @@
f32ScratchView[2] = value;
}
-function asmFunc(importObject) {
- var env = importObject.env || importObject;
+function asmFunc(imports) {
var buffer = new ArrayBuffer(65536);
var HEAP8 = new Int8Array(buffer);
var HEAP16 = new Int16Array(buffer);