diff options
Diffstat (limited to 'test/wasm2js/unreachable-insts.2asm.js')
-rw-r--r-- | test/wasm2js/unreachable-insts.2asm.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/wasm2js/unreachable-insts.2asm.js b/test/wasm2js/unreachable-insts.2asm.js index c605aa3d0..35bd685e8 100644 --- a/test/wasm2js/unreachable-insts.2asm.js +++ b/test/wasm2js/unreachable-insts.2asm.js @@ -11,7 +11,6 @@ function asmFunc(importObject) { var Math_ceil = Math.ceil; var Math_trunc = Math.trunc; var Math_sqrt = Math.sqrt; - var abort = env.abort; var nan = NaN; var infinity = Infinity; return { @@ -19,5 +18,5 @@ function asmFunc(importObject) { }; } -var retasmFunc = asmFunc( { abort: function() { throw new Error('abort'); } - }); +var retasmFunc = asmFunc({ +}); |