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

Unified Diff: test/mjsunit/regress/regress-cnlt-elements.js

Issue 11017054: Fix CNLT regression. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix the test to also crash in release mode (without the assert) Created 8 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
« no previous file with comments | « src/objects-printer.cc ('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-cnlt-elements.js
diff --git a/test/mjsunit/regress/regress-128018.js b/test/mjsunit/regress/regress-cnlt-elements.js
similarity index 87%
copy from test/mjsunit/regress/regress-128018.js
copy to test/mjsunit/regress/regress-cnlt-elements.js
index 7bd15858e6c9a36a651d185ad7f4d97c25c7b1f7..634534c53307caad7c7b7724d875d142272a9edf 100644
--- a/test/mjsunit/regress/regress-128018.js
+++ b/test/mjsunit/regress/regress-cnlt-elements.js
@@ -27,9 +27,17 @@
// Flags: --expose-gc
-function KeyedStoreIC(a) { a[(1)] = Math.E; }
-var literal = [1.2];
-literal.length = 0;
-literal.push('0' && 0 );
-KeyedStoreIC(literal);
+var a = JSON.parse('{"b":1,"c":2,"d":3,"e":4}');
+var b = JSON.parse('{"12040200":1, "a":2, "b":2}');
+var c = JSON.parse('{"24050300":1}');
+b = null;
gc();
+gc();
+c.a1 = 2;
+c.a2 = 2;
+c.a3 = 2;
+c.a4 = 2;
+c.a5 = 2;
+c.a6 = 2;
+c.a7 = 2;
+c.a8 = 2;
« no previous file with comments | « src/objects-printer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698