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/float64array-negative-offset.js

Issue 2663243002: [asm] Fix lots of invalid asm.js tests (Closed)
Patch Set: clang-format Created 3 years, 11 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
Index: test/mjsunit/asm/float64array-negative-offset.js
diff --git a/test/mjsunit/asm/float64array-negative-offset.js b/test/mjsunit/asm/float64array-negative-offset.js
index 154bd82cd379a0ea932fb5e6dd989cd0d5b1bbc4..76be0ced014f67af7d08068cb273d4f0248d49ca 100644
--- a/test/mjsunit/asm/float64array-negative-offset.js
+++ b/test/mjsunit/asm/float64array-negative-offset.js
@@ -12,8 +12,7 @@ var m = (function Module(stdlib, foreign, heap) {
var MEM64 = new stdlib.Float64Array(heap);
function load(i) {
i = i|0;
- i = +MEM64[i >> 3];
- return i;
+ return +MEM64[i >> 3];
}
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 = +MEM64[i + 8 >> 3];
- return i;
+ return +MEM64[i + 8 >> 3];
}
function store8(i, v) {
i = i|0;

Powered by Google App Engine
This is Rietveld 408576698