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

Unified Diff: test/mjsunit/regress/regress-95113.js

Issue 1420913003: [turbofan] Try hard(er) to use smi representation for float64 values. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove unittest for now. Will need new ones, once we know what we want. Created 5 years, 2 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/regress/regress-95113.js
diff --git a/test/mjsunit/regress/regress-95113.js b/test/mjsunit/regress/regress-95113.js
index 468bff84c200a30c6abdbf2c5e7334655a0d6949..aa526ae0b939f6ebbd48734bd317d13a08378e7f 100644
--- a/test/mjsunit/regress/regress-95113.js
+++ b/test/mjsunit/regress/regress-95113.js
@@ -31,8 +31,8 @@ function get_double_array() {
var a = new Array(100000);
var i = 0;
while (!%HasFastDoubleElements(a)) {
- a[i] = i;
- i += 0.5;
+ a[i] = i + 0.1;
+ i += 1;
}
assertTrue(%HasFastDoubleElements(a));
a.length = 1;

Powered by Google App Engine
This is Rietveld 408576698