From 1e91e1b666cc76874732d27843d0048c15b6152b Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 15 Apr 2019 13:57:56 -0700 Subject: Use a single table in wasm2js (#2005) This replaces the multiple asm.js tables (of power-of-2 size) with a single simple table. Also supports importing the table. --- test/wasm2js/float-ops.2asm.js | 1 + 1 file changed, 1 insertion(+) (limited to 'test/wasm2js/float-ops.2asm.js') diff --git a/test/wasm2js/float-ops.2asm.js b/test/wasm2js/float-ops.2asm.js index 06bdd9b21..f6bd1a0d6 100644 --- a/test/wasm2js/float-ops.2asm.js +++ b/test/wasm2js/float-ops.2asm.js @@ -376,6 +376,7 @@ function asmFunc(global, env, buffer) { return (~~i64toi32_i32$0 >>> 0 | 0) == (0 | 0) & (i64toi32_i32$1 | 0) == (0 | 0) | 0 | 0; } + var FUNCTION_TABLE = []; return { f32_add: $1, f32_sub: $2, -- cgit v1.2.3