diff options
Diffstat (limited to 'test/wasm2js/reinterpret.2asm.js')
-rw-r--r-- | test/wasm2js/reinterpret.2asm.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/wasm2js/reinterpret.2asm.js b/test/wasm2js/reinterpret.2asm.js index 446f23479..84cde1611 100644 --- a/test/wasm2js/reinterpret.2asm.js +++ b/test/wasm2js/reinterpret.2asm.js @@ -29,7 +29,8 @@ return f32ScratchView[2]; } -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; |