summaryrefslogtreecommitdiff
path: root/test/wasm2js/conversions-modified.2asm.js.opt
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/conversions-modified.2asm.js.opt')
-rw-r--r--test/wasm2js/conversions-modified.2asm.js.opt42
1 files changed, 18 insertions, 24 deletions
diff --git a/test/wasm2js/conversions-modified.2asm.js.opt b/test/wasm2js/conversions-modified.2asm.js.opt
index 1e9b23fb5..1f1fd7ac5 100644
--- a/test/wasm2js/conversions-modified.2asm.js.opt
+++ b/test/wasm2js/conversions-modified.2asm.js.opt
@@ -76,42 +76,36 @@ function asmFunc(global, env, buffer) {
function $7($0) {
$0 = Math_fround($0);
- var $1 = 0, $2 = 0, $3_1 = 0;
- $3_1 = ~~$0 >>> 0;
+ var $1 = 0, $2 = 0;
+ $2 = ~~$0 >>> 0;
if (Math_fround(Math_abs($0)) >= Math_fround(1.0)) {
- {
- if ($0 > Math_fround(0.0)) {
- $1 = ~~Math_fround(Math_min(Math_fround(Math_floor(Math_fround($0 / Math_fround(4294967296.0)))), Math_fround(4294967296.0))) >>> 0
- } else {
- $1 = ~~Math_fround(Math_ceil(Math_fround(Math_fround($0 - Math_fround(~~$0 >>> 0 >>> 0)) / Math_fround(4294967296.0)))) >>> 0
- }
- $2 = $1;
+ if ($0 > Math_fround(0.0)) {
+ $1 = ~~Math_fround(Math_min(Math_fround(Math_floor(Math_fround($0 / Math_fround(4294967296.0)))), Math_fround(4294967296.0))) >>> 0
+ } else {
+ $1 = ~~Math_fround(Math_ceil(Math_fround(Math_fround($0 - Math_fround(~~$0 >>> 0 >>> 0)) / Math_fround(4294967296.0)))) >>> 0
}
} else {
- $2 = 0
+ $1 = 0
}
- i64toi32_i32$HIGH_BITS = $2;
- return $3_1 | 0;
+ i64toi32_i32$HIGH_BITS = $1;
+ return $2 | 0;
}
function $9($0) {
$0 = +$0;
- var $1 = 0, $2 = 0, $3_1 = 0;
- $3_1 = ~~$0 >>> 0;
+ var $1 = 0, $2 = 0;
+ $2 = ~~$0 >>> 0;
if (Math_abs($0) >= 1.0) {
- {
- if ($0 > 0.0) {
- $1 = ~~Math_min(Math_floor($0 / 4294967296.0), 4294967295.0) >>> 0
- } else {
- $1 = ~~Math_ceil(($0 - +(~~$0 >>> 0 >>> 0)) / 4294967296.0) >>> 0
- }
- $2 = $1;
+ if ($0 > 0.0) {
+ $1 = ~~Math_min(Math_floor($0 / 4294967296.0), 4294967295.0) >>> 0
+ } else {
+ $1 = ~~Math_ceil(($0 - +(~~$0 >>> 0 >>> 0)) / 4294967296.0) >>> 0
}
} else {
- $2 = 0
+ $1 = 0
}
- i64toi32_i32$HIGH_BITS = $2;
- return $3_1 | 0;
+ i64toi32_i32$HIGH_BITS = $1;
+ return $2 | 0;
}
function $11($0) {