summaryrefslogtreecommitdiff
path: root/test/wasm2js/float-ops.2asm.js.opt
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2019-05-10 12:24:03 -0700
committerGitHub <noreply@github.com>2019-05-10 12:24:03 -0700
commit4b35f384fe753f06c22a04bfa1be056e92f67739 (patch)
tree5a1a9c515dbffb01bae91d113ce88e8210e91e8b /test/wasm2js/float-ops.2asm.js.opt
parentd216f8742ba0663fffb035c577a5449bbc8a33a2 (diff)
downloadbinaryen-4b35f384fe753f06c22a04bfa1be056e92f67739.tar.gz
binaryen-4b35f384fe753f06c22a04bfa1be056e92f67739.tar.bz2
binaryen-4b35f384fe753f06c22a04bfa1be056e92f67739.zip
Look through fallthrough values in precompute-propagate (#2093)
This helps quite a lot on wasm2js.
Diffstat (limited to 'test/wasm2js/float-ops.2asm.js.opt')
-rw-r--r--test/wasm2js/float-ops.2asm.js.opt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/wasm2js/float-ops.2asm.js.opt b/test/wasm2js/float-ops.2asm.js.opt
index 416f144d2..cc8f90643 100644
--- a/test/wasm2js/float-ops.2asm.js.opt
+++ b/test/wasm2js/float-ops.2asm.js.opt
@@ -246,12 +246,12 @@ function asmFunc(global, env, buffer) {
function $47($0) {
$0 = Math_fround($0);
- return !((Math_fround(Math_abs($0)) >= Math_fround(1.0) ? ($0 > Math_fround(0.0) ? ~~Math_fround(Math_min(Math_fround(Math_floor(Math_fround($0 / Math_fround(4294967296.0)))), Math_fround(4294967296.0))) >>> 0 : ~~Math_fround(Math_ceil(Math_fround(Math_fround($0 - Math_fround(~~$0 >>> 0 >>> 0)) / Math_fround(4294967296.0)))) >>> 0) : 0) | ~~$0 >>> 0) | 0;
+ return !(~~$0 >>> 0 | (Math_fround(Math_abs($0)) >= Math_fround(1.0) ? ($0 > Math_fround(0.0) ? ~~Math_fround(Math_min(Math_fround(Math_floor(Math_fround($0 / Math_fround(4294967296.0)))), Math_fround(4294967296.0))) >>> 0 : ~~Math_fround(Math_ceil(Math_fround(Math_fround($0 - Math_fround(~~$0 >>> 0 >>> 0)) / Math_fround(4294967296.0)))) >>> 0) : 0)) | 0;
}
function $48($0) {
$0 = +$0;
- return !((Math_abs($0) >= 1.0 ? ($0 > 0.0 ? ~~Math_min(Math_floor($0 / 4294967296.0), 4294967295.0) >>> 0 : ~~Math_ceil(($0 - +(~~$0 >>> 0 >>> 0)) / 4294967296.0) >>> 0) : 0) | ~~$0 >>> 0) | 0;
+ return !(~~$0 >>> 0 | (Math_abs($0) >= 1.0 ? ($0 > 0.0 ? ~~Math_min(Math_floor($0 / 4294967296.0), 4294967295.0) >>> 0 : ~~Math_ceil(($0 - +(~~$0 >>> 0 >>> 0)) / 4294967296.0) >>> 0) : 0)) | 0;
}
function legalstub$43($0, $1_1) {