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

Unified Diff: test/mjsunit/asm/int32array-negative-offset.js

Issue 2663243002: [asm] Fix lots of invalid asm.js tests (Closed)
Patch Set: Rebase Created 3 years, 10 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 | « test/mjsunit/asm/int32array-constant-key.js ('k') | test/mjsunit/asm/int32array-outofbounds.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/asm/int32array-negative-offset.js
diff --git a/test/mjsunit/asm/int32array-negative-offset.js b/test/mjsunit/asm/int32array-negative-offset.js
index d1a8efa6714988d442f9a7f0a42d67ece886fdbd..690af8e66893d8f606eab80b666897c63cc90bd9 100644
--- a/test/mjsunit/asm/int32array-negative-offset.js
+++ b/test/mjsunit/asm/int32array-negative-offset.js
@@ -13,7 +13,7 @@ var m = (function Module(stdlib, foreign, heap) {
function load(i) {
i = i|0;
i = MEM32[i >> 2]|0;
- return i;
+ return i | 0;
}
function store(i, v) {
i = i|0;
@@ -23,7 +23,7 @@ var m = (function Module(stdlib, foreign, heap) {
function load8(i) {
i = i|0;
i = MEM32[i + 8 >> 2]|0;
- return i;
+ return i | 0;
}
function store8(i, v) {
i = i|0;
« no previous file with comments | « test/mjsunit/asm/int32array-constant-key.js ('k') | test/mjsunit/asm/int32array-outofbounds.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698