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

Unified Diff: test/mjsunit/asm/float32array-outofbounds.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/float32array-negative-offset.js ('k') | test/mjsunit/asm/float32array-store-div.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/asm/float32array-outofbounds.js
diff --git a/test/mjsunit/asm/float32array-outofbounds.js b/test/mjsunit/asm/float32array-outofbounds.js
index 8709b706c97f353031f649f33f38bcc2698e6955..e4062160e629e4b28ce334ca0a78ce5508c49be0 100644
--- a/test/mjsunit/asm/float32array-outofbounds.js
+++ b/test/mjsunit/asm/float32array-outofbounds.js
@@ -7,8 +7,7 @@ function Module(stdlib, foreign, heap) {
var MEM32 = new stdlib.Float32Array(heap);
function load(i) {
i = i|0;
- i = +MEM32[i >> 2];
- return i;
+ return +MEM32[i >> 2];
}
function store(i, v) {
i = i|0;
« no previous file with comments | « test/mjsunit/asm/float32array-negative-offset.js ('k') | test/mjsunit/asm/float32array-store-div.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698