Index: test/mjsunit/asm/if-tonumber.js |
diff --git a/test/mjsunit/asm/if-tonumber.js b/test/mjsunit/asm/if-tonumber.js |
index dd3f73b2c2a7ff2a05e5eabd3decf374b07d12c8..f604fbcef8bfec80ade60235180b5878dc05aeab 100644 |
--- a/test/mjsunit/asm/if-tonumber.js |
+++ b/test/mjsunit/asm/if-tonumber.js |
@@ -10,8 +10,8 @@ function Module(stdlib, foreign, heap) { |
"use asm"; |
function foo(i) { |
i = i|0; |
- if (i > 0) { |
- i = i == 1; |
+ if ((i | 0) > 0) { |
+ i = (i | 0) == 1; |
} else { |
i = 1; |
} |