diff options
Diffstat (limited to 'test/wasm2js.traps.js')
-rw-r--r-- | test/wasm2js.traps.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/wasm2js.traps.js b/test/wasm2js.traps.js index 65659966d..780acadfc 100644 --- a/test/wasm2js.traps.js +++ b/test/wasm2js.traps.js @@ -79,10 +79,8 @@ function asmFunc0(global, env, buffer) { const memasmFunc0 = new ArrayBuffer(65536); const retasmFunc0 = asmFunc0({Math,Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,NaN,Infinity}, {abort:function() { throw new Error('abort'); }},memasmFunc0); function check1() { - var wasm2js_i32$0 = 0; retasmFunc0.empty(); - wasm2js_i32$0 = 1; - return wasm2js_i32$0 | 0; + return 1 | 0; } if (!check1()) throw 'assertion failed: ( assert_return ( call empty ) )'; |