summaryrefslogtreecommitdiff
path: root/test/wasm2js/unary-ops.2asm.js.opt
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/unary-ops.2asm.js.opt')
-rw-r--r--test/wasm2js/unary-ops.2asm.js.opt12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/wasm2js/unary-ops.2asm.js.opt b/test/wasm2js/unary-ops.2asm.js.opt
index 836400f0e..7c07c8bb9 100644
--- a/test/wasm2js/unary-ops.2asm.js.opt
+++ b/test/wasm2js/unary-ops.2asm.js.opt
@@ -49,7 +49,7 @@ function asmFunc(global, env, buffer) {
var $4 = 0;
$4 = Math_clz32($0) + 32 | 0;
$0 = Math_clz32($1_1);
- return !$3 & ($2 | 0) == ((($0 | 0) == (32 | 0) ? $4 : $0) | 0);
+ return !$3 & ($2 | 0) == ((($0 | 0) == 32 ? $4 : $0) | 0);
}
function legalstub$2($0, $1_1, $2, $3) {
@@ -81,14 +81,14 @@ function asmFunc(global, env, buffer) {
if ($0 | $1_1) {
$3 = $1_1 + -1 | 0;
$2 = $0 + -1 | 0;
- if ($2 >>> 0 < -1 >>> 0) {
+ if ($2 >>> 0 < 4294967295) {
$3 = $3 + 1 | 0
}
$2 = Math_clz32($0 ^ $2) + 32 | 0;
$0 = Math_clz32($1_1 ^ $3);
- $0 = ($0 | 0) == (32 | 0) ? $2 : $0;
+ $0 = ($0 | 0) == 32 ? $2 : $0;
$1_1 = 63 - $0 | 0;
- i64toi32_i32$HIGH_BITS = 0 - (63 >>> 0 < $0 >>> 0) | 0;
+ i64toi32_i32$HIGH_BITS = 0 - (63 < $0 >>> 0) | 0;
return $1_1;
}
i64toi32_i32$HIGH_BITS = 0;
@@ -117,9 +117,9 @@ function asmFunc(global, env, buffer) {
if ($0 | $1_1) {
$2 = $0;
$0 = $2 - 1 & $2;
- $1_1 = $1_1 - ($2 >>> 0 < 1 >>> 0) & $1_1;
+ $1_1 = $1_1 - ($2 >>> 0 < 1) & $1_1;
$2 = $3 + 1 | 0;
- if ($2 >>> 0 < 1 >>> 0) {
+ if ($2 >>> 0 < 1) {
$4 = $4 + 1 | 0
}
$3 = $2;