summaryrefslogtreecommitdiff
path: root/test/wasm2js/i64-shifts.2asm.js.opt
diff options
context:
space:
mode:
authorMax Graey <maxgraey@gmail.com>2020-10-31 01:06:30 +0200
committerGitHub <noreply@github.com>2020-10-30 16:06:30 -0700
commit45f808c58c752b1b146b71b9d6e9e30758a808c2 (patch)
treeeff7856c5e811904bf5064f8b853b3bcb3652af5 /test/wasm2js/i64-shifts.2asm.js.opt
parentebaddfbd09359a9de6424e0c302255b8f8caf6f6 (diff)
downloadbinaryen-45f808c58c752b1b146b71b9d6e9e30758a808c2.tar.gz
binaryen-45f808c58c752b1b146b71b9d6e9e30758a808c2.tar.bz2
binaryen-45f808c58c752b1b146b71b9d6e9e30758a808c2.zip
Canonicalize relationals as well (#3303)
Diffstat (limited to 'test/wasm2js/i64-shifts.2asm.js.opt')
-rw-r--r--test/wasm2js/i64-shifts.2asm.js.opt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/wasm2js/i64-shifts.2asm.js.opt b/test/wasm2js/i64-shifts.2asm.js.opt
index b04fc3b8f..54cc05097 100644
--- a/test/wasm2js/i64-shifts.2asm.js.opt
+++ b/test/wasm2js/i64-shifts.2asm.js.opt
@@ -20,7 +20,7 @@ function asmFunc(global, env) {
$4 = $4 | 0;
var $5 = 0;
$5 = $2_1 & 31;
- if (32 <= ($2_1 & 63) >>> 0) {
+ if (($2_1 & 63) >>> 0 >= 32) {
$1_1 = $0 << $5;
$0 = 0;
} else {
@@ -38,7 +38,7 @@ function asmFunc(global, env) {
$4 = $4 | 0;
var $5 = 0;
$5 = $2_1 & 31;
- if (32 <= ($2_1 & 63) >>> 0) {
+ if (($2_1 & 63) >>> 0 >= 32) {
$2_1 = $1_1 >> 31;
$0 = $1_1 >> $5;
} else {