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