diff options
Diffstat (limited to 'test/wasm2js/stack-modified.2asm.js.opt')
-rw-r--r-- | test/wasm2js/stack-modified.2asm.js.opt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/wasm2js/stack-modified.2asm.js.opt b/test/wasm2js/stack-modified.2asm.js.opt index 239dc6d98..c3d9d7d57 100644 --- a/test/wasm2js/stack-modified.2asm.js.opt +++ b/test/wasm2js/stack-modified.2asm.js.opt @@ -1,7 +1,6 @@ -import { setTempRet0 } from 'env'; +import * as env from 'env'; -function asmFunc(importObject) { - var env = importObject.env || importObject; +function asmFunc(imports) { var Math_imul = Math.imul; var Math_fround = Math.fround; var Math_abs = Math.abs; @@ -14,6 +13,7 @@ function asmFunc(importObject) { var Math_sqrt = Math.sqrt; var nan = NaN; var infinity = Infinity; + var env = imports.env; var setTempRet0 = env.setTempRet0; var i64toi32_i32$HIGH_BITS = 0; function legalstub$0($0, $1) { @@ -61,7 +61,7 @@ function asmFunc(importObject) { } var retasmFunc = asmFunc({ - setTempRet0, + "env": env, }); export var fac_expr = retasmFunc.fac_expr; export var fac_stack = retasmFunc.fac_stack; |