summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/asm/int32-udiv.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/asm/int32-udiv.js')
-rw-r--r--deps/v8/test/mjsunit/asm/int32-udiv.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/deps/v8/test/mjsunit/asm/int32-udiv.js b/deps/v8/test/mjsunit/asm/int32-udiv.js
index 9c67d6f076..6eccca251d 100644
--- a/deps/v8/test/mjsunit/asm/int32-udiv.js
+++ b/deps/v8/test/mjsunit/asm/int32-udiv.js
@@ -5,20 +5,20 @@
function Module(stdlib, foreign, heap) {
"use asm";
function f1(i) {
- i = i>>>0;
- return i / 3 | 0;
+ i = i | 0;
+ return (i >>> 0) / 3 | 0;
}
function f2(i) {
- i = i>>>0;
- return i / 17 | 0;
+ i = i | 0;
+ return (i >>> 0) / 17 | 0;
}
function f3(i) {
- i = i>>>0;
- return i / 1024 | 0;
+ i = i | 0;
+ return (i >>> 0) / 1024 | 0;
}
function f4(i) {
- i = i>>>0;
- return i / 3343330 | 0;
+ i = i | 0;
+ return (i >>> 0) / 3343330 | 0;
}
return { f1: f1, f2: f2, f3: f3, f4: f4 };
}