summaryrefslogtreecommitdiff
path: root/test/wasm2js/func-ptr-offset.2asm.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/func-ptr-offset.2asm.js')
-rw-r--r--test/wasm2js/func-ptr-offset.2asm.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/wasm2js/func-ptr-offset.2asm.js b/test/wasm2js/func-ptr-offset.2asm.js
index 2a2a0b425..5789e47d4 100644
--- a/test/wasm2js/func-ptr-offset.2asm.js
+++ b/test/wasm2js/func-ptr-offset.2asm.js
@@ -35,8 +35,7 @@ function asmFunc(global, env, buffer) {
function $3($0) {
$0 = $0 | 0;
- var wasm2js_i32$0 = 0;
- return (wasm2js_i32$0 = $0, FUNCTION_TABLE[wasm2js_i32$0]() | 0) | 0;
+ return FUNCTION_TABLE[$0]() | 0;
}
var FUNCTION_TABLE = [null, t1, t2, t3];