From ee00f647750f23e6c24e67424bafab39b244c835 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Mon, 21 Sep 2020 16:39:46 -0700 Subject: wasm2js: Support exported tables (#3152) --- test/wasm2js/traps.2asm.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'test/wasm2js/traps.2asm.js') diff --git a/test/wasm2js/traps.2asm.js b/test/wasm2js/traps.2asm.js index 4b5dbd084..25acefe76 100644 --- a/test/wasm2js/traps.2asm.js +++ b/test/wasm2js/traps.2asm.js @@ -728,7 +728,6 @@ function asmFunc(global, env, buffer) { return 32 | 0; } - var FUNCTION_TABLE = []; return { "no_dce_i32_div_s": $0, "no_dce_i32_div_u": $1, @@ -1455,7 +1454,6 @@ function asmFunc(global, env, buffer) { return 32 | 0; } - var FUNCTION_TABLE = []; return { "no_dce_i32_rem_s": $0, "no_dce_i32_rem_u": $1, @@ -1580,7 +1578,6 @@ function asmFunc(global, env, buffer) { ~~i64toi32_i32$0 >>> 0; } - var FUNCTION_TABLE = []; return { "no_dce_i32_trunc_f32_s": $0, "no_dce_i32_trunc_f32_u": $1, @@ -1701,7 +1698,6 @@ function asmFunc(global, env, buffer) { +HEAPF64[i >> 3]; } - var FUNCTION_TABLE = []; function __wasm_memory_size() { return buffer.byteLength / 65536 | 0; } -- cgit v1.2.3