summaryrefslogtreecommitdiff
path: root/test/wasm2js/dot_import.2asm.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/dot_import.2asm.js')
-rw-r--r--test/wasm2js/dot_import.2asm.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/wasm2js/dot_import.2asm.js b/test/wasm2js/dot_import.2asm.js
index da0cfb125..d49304e2d 100644
--- a/test/wasm2js/dot_import.2asm.js
+++ b/test/wasm2js/dot_import.2asm.js
@@ -12,7 +12,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;
var base = env.ba_se;
@@ -25,7 +24,7 @@ function asmFunc(importObject) {
};
}
-var retasmFunc = asmFunc( { abort: function() { throw new Error('abort'); },
- ba_se
- });
+var retasmFunc = asmFunc({
+ ba_se,
+});
export var exported = retasmFunc.exported;