summaryrefslogtreecommitdiff
path: root/test/wasm2js/comments.2asm.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/comments.2asm.js')
-rw-r--r--test/wasm2js/comments.2asm.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/wasm2js/comments.2asm.js b/test/wasm2js/comments.2asm.js
index 5689ecdc5..25508ff66 100644
--- a/test/wasm2js/comments.2asm.js
+++ b/test/wasm2js/comments.2asm.js
@@ -1,5 +1,6 @@
-function asmFunc(env) {
+function asmFunc(importObject) {
+ var env = importObject.env || importObject;
var Math_imul = Math.imul;
var Math_fround = Math.fround;
var Math_abs = Math.abs;
@@ -21,7 +22,8 @@ function asmFunc(env) {
var retasmFunc = asmFunc( { abort: function() { throw new Error('abort'); }
});
-function asmFunc(env) {
+function asmFunc(importObject) {
+ var env = importObject.env || importObject;
var Math_imul = Math.imul;
var Math_fround = Math.fround;
var Math_abs = Math.abs;