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

Unified Diff: test/mjsunit/asm/int16array-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/infinite-loops-taken.js ('k') | test/mjsunit/asm/int16array-outofbounds.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/asm/int16array-negative-offset.js
diff --git a/test/mjsunit/asm/int16array-negative-offset.js b/test/mjsunit/asm/int16array-negative-offset.js
index 5d33115ad81c068ccbee196a22b0e703ef227092..ff452fac6f441b8237af3a6ba748d87d8ccdb1e5 100644
--- a/test/mjsunit/asm/int16array-negative-offset.js
+++ b/test/mjsunit/asm/int16array-negative-offset.js
@@ -13,7 +13,7 @@ var m = (function Module(stdlib, foreign, heap) {
function load(i) {
i = i|0;
i = MEM16[i >> 1]|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 = MEM16[i + 8 >> 1]|0;
- return i;
+ return i | 0;
}
function store8(i, v) {
i = i|0;
« no previous file with comments | « test/mjsunit/asm/infinite-loops-taken.js ('k') | test/mjsunit/asm/int16array-outofbounds.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698