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

Unified Diff: test/mjsunit/asm/float32array-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/do-while-false.js ('k') | test/mjsunit/asm/float32array-outofbounds.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/asm/float32array-negative-offset.js
diff --git a/test/mjsunit/asm/float32array-negative-offset.js b/test/mjsunit/asm/float32array-negative-offset.js
index 524bdc840c59303173d7fb59165e91c77cf39448..2f753bea8fb577e0028ace28e53908b339c9f1fc 100644
--- a/test/mjsunit/asm/float32array-negative-offset.js
+++ b/test/mjsunit/asm/float32array-negative-offset.js
@@ -12,8 +12,7 @@ var m = (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;
@@ -22,8 +21,7 @@ var m = (function Module(stdlib, foreign, heap) {
}
function load8(i) {
i = i|0;
- i = +MEM32[i + 8 >> 2];
- return i;
+ return +MEM32[i + 8 >> 2];
}
function store8(i, v) {
i = i|0;
« no previous file with comments | « test/mjsunit/asm/do-while-false.js ('k') | test/mjsunit/asm/float32array-outofbounds.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698