From 09771ea21a3f30ade4a8abb7482fdd3b6eaaba7a Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 7 Dec 2015 13:59:59 -0800 Subject: emit function table calls in wasm2asm --- test/unit.2asm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/unit.2asm.js') diff --git a/test/unit.2asm.js b/test/unit.2asm.js index c33736a61..1dfc7f32b 100644 --- a/test/unit.2asm.js +++ b/test/unit.2asm.js @@ -193,7 +193,7 @@ function asmFunc(global, env, buffer) { function neg() { var x = Math_fround(0); x = Math_fround(-x); - FUNCTION_TABLE[(1 & 7 | 0) + 8 | 0](Math_fround(x)); + FUNCTION_TABLE_vf[((1 & 7 | 0) + 8 | 0) & 15](Math_fround(x)); } function ___syscall_ret() { -- cgit v1.2.3