Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Unified Diff: test/mjsunit/wasm/asm-wasm-literals.js

Issue 1823333005: Fixing invalid asm.js in asm-wasm-literals.js (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/wasm/asm-wasm-literals.js
diff --git a/test/mjsunit/wasm/asm-wasm-literals.js b/test/mjsunit/wasm/asm-wasm-literals.js
index 5689d418b1f36eb4b4228f1bc18c64bc8742f339..721607c016f11835c1109e6e0f16e0339b7eca42 100644
--- a/test/mjsunit/wasm/asm-wasm-literals.js
+++ b/test/mjsunit/wasm/asm-wasm-literals.js
@@ -109,23 +109,23 @@ function LargeUnsignedLiterals() {
"use asm";
function a() {
var x = 2147483648;
- return +x;
+ return +(x >>> 0);
}
function b() {
var x = 2147483649;
- return +x;
+ return +(x >>> 0);
}
function c() {
var x = 0x80000000;
- return +x;
+ return +(x >>> 0);
}
function d() {
var x = 0x80000001;
- return +x;
+ return +(x >>> 0);
}
function e() {
var x = 0xffffffff;
- return +x;
+ return +(x >>> 0);
}
return {a: a, b: b, c: c, d: d, e: e};
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698