summaryrefslogtreecommitdiff
path: root/test/wasm2js/indirect-select.2asm.js.opt
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/indirect-select.2asm.js.opt')
-rw-r--r--test/wasm2js/indirect-select.2asm.js.opt3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/wasm2js/indirect-select.2asm.js.opt b/test/wasm2js/indirect-select.2asm.js.opt
index b4a4752c2..5389157f8 100644
--- a/test/wasm2js/indirect-select.2asm.js.opt
+++ b/test/wasm2js/indirect-select.2asm.js.opt
@@ -1,6 +1,7 @@
import { table } from 'env';
-function asmFunc(env) {
+function asmFunc(importObject) {
+ var env = importObject.env || importObject;
var FUNCTION_TABLE = env.table;
var Math_imul = Math.imul;
var Math_fround = Math.fround;