From 4b35f384fe753f06c22a04bfa1be056e92f67739 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 10 May 2019 12:24:03 -0700 Subject: Look through fallthrough values in precompute-propagate (#2093) This helps quite a lot on wasm2js. --- test/wasm2js/unaligned.2asm.js.opt | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'test/wasm2js/unaligned.2asm.js.opt') diff --git a/test/wasm2js/unaligned.2asm.js.opt b/test/wasm2js/unaligned.2asm.js.opt index bbca2c8bf..c765fbc46 100644 --- a/test/wasm2js/unaligned.2asm.js.opt +++ b/test/wasm2js/unaligned.2asm.js.opt @@ -104,13 +104,10 @@ function asmFunc(global, env, buffer) { } function legalstub$1() { - var $0_1 = 0, $1_1 = 0, $2_1 = 0, $3_1 = 0; - $1_1 = $1(); - $2_1 = i64toi32_i32$HIGH_BITS; - $3_1 = 32; - $0_1 = $3_1 & 31; - setTempRet0((32 >>> 0 <= $3_1 >>> 0 ? $2_1 >>> $0_1 : ((1 << $0_1) - 1 & $2_1) << 32 - $0_1 | $1_1 >>> $0_1) | 0); - return $1_1; + var $0_1 = 0; + $0_1 = $1(); + setTempRet0(i64toi32_i32$HIGH_BITS | 0); + return $0_1; } var FUNCTION_TABLE = []; -- cgit v1.2.3