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

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

Issue 184393002: Fix representation generalization for doubles. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | « src/property-details.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-347909.js
diff --git a/test/mjsunit/regress/regress-347530.js b/test/mjsunit/regress/regress-347909.js
similarity index 55%
copy from test/mjsunit/regress/regress-347530.js
copy to test/mjsunit/regress/regress-347909.js
index 330fda38c01b5b3c8cc3926fda0520b086aa7289..60ccbef845a4d7a22aa261f0331331660e9646e7 100644
--- a/test/mjsunit/regress/regress-347530.js
+++ b/test/mjsunit/regress/regress-347909.js
@@ -2,11 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
Toon Verwaest 2014/02/28 10:59:15 Flags: --allow-natives-syntax
Hannes Payer (out of office) 2014/02/28 11:06:52 Done.
-// Flags: --expose-gc
-a = [];
-a[1000] = .1;
-a.length = 0;
-gc();
-gc();
-a[1000] = .1;
-assertEquals(.1, a[1000]);
+a = {y:1.5};
Toon Verwaest 2014/02/28 10:59:15 var a =, var b =, var d =
Hannes Payer (out of office) 2014/02/28 11:06:52 Done.
+a.y = 0;
+b = a.y;
+a.y= {};
Toon Verwaest 2014/02/28 10:59:15 add space after a.y
Hannes Payer (out of office) 2014/02/28 11:06:52 Done.
+d = 1;
+function f() {
+ d = 0;
+ return {y: b};
+}
+f();
+f();
+%OptimizeFunctionOnNextCall(f);
+f();
« no previous file with comments | « src/property-details.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698