Index: test/mjsunit/asm/int32-umod.js |
diff --git a/test/mjsunit/asm/int32-umod.js b/test/mjsunit/asm/int32-umod.js |
index 22689662500138b8cc26891d6ce80460967c5d0d..8a96aefdabb9bfdf51d6ad99ebe518401aa34c82 100644 |
--- a/test/mjsunit/asm/int32-umod.js |
+++ b/test/mjsunit/asm/int32-umod.js |
@@ -5,20 +5,20 @@ |
function Module(stdlib, foreign, heap) { |
"use asm"; |
function f1(i) { |
- i = i>>>0; |
- return i % 3; |
+ i = i | 0; |
+ return (i >>> 0) % 3 | 0; |
} |
function f2(i) { |
- i = i>>>0; |
- return i % 11; |
+ i = i | 0; |
+ return (i >>> 0) % 11 | 0; |
} |
function f3(i) { |
- i = i>>>0; |
- return i % 1024; |
+ i = i | 0; |
+ return (i >>> 0) % 1024 | 0; |
} |
function f4(i) { |
- i = i>>>0; |
- return i % 3333337; |
+ i = i | 0; |
+ return (i >>> 0) % 3333337 | 0; |
} |
return { f1: f1, f2: f2, f3: f3, f4: f4 }; |
} |