From db14d0477f2715e3071687f42b77d8712477d83e Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 19 Apr 2019 15:22:55 -0700 Subject: wasm2js2 import fixes (#2031) * Don't assume function types exist in legalize-js-interface. * Properly handle (ignore) imports in RemoveNonJSOps - do not try to recurse into them. * Run legalize-js-interface and remove-unused-module-elements in wasm2js, the first is necessary, the last is nice to have. --- test/wasm2js/func-ptr-offset.2asm.js | 1 - 1 file changed, 1 deletion(-) (limited to 'test/wasm2js/func-ptr-offset.2asm.js') diff --git a/test/wasm2js/func-ptr-offset.2asm.js b/test/wasm2js/func-ptr-offset.2asm.js index 4fdbab2ee..3e1865dae 100644 --- a/test/wasm2js/func-ptr-offset.2asm.js +++ b/test/wasm2js/func-ptr-offset.2asm.js @@ -21,7 +21,6 @@ function asmFunc(global, env, buffer) { var abort = env.abort; var nan = global.NaN; var infinity = global.Infinity; - var i64toi32_i32$HIGH_BITS = 0; function t1() { return 1 | 0; } -- cgit v1.2.3