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

Unified Diff: test/mjsunit/regress/regress-crbug-630561.js

Issue 2173653003: [elements] Omit fast path in PrependElementIndices (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: adding missing convert condition Created 4 years, 5 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/elements.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-crbug-630561.js
diff --git a/test/mjsunit/compiler/inline-dead-jscreate.js b/test/mjsunit/regress/regress-crbug-630561.js
similarity index 52%
copy from test/mjsunit/compiler/inline-dead-jscreate.js
copy to test/mjsunit/regress/regress-crbug-630561.js
index a9778758c44908f2a79288bd3439c97a0904f448..798f33d6589df5161837e705cca99f0ea869d10f 100644
--- a/test/mjsunit/compiler/inline-dead-jscreate.js
+++ b/test/mjsunit/regress/regress-crbug-630561.js
@@ -2,13 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-var bar = 0;
+// Flags: --gc-interval=30
-function baz() { return this; }
+var dict_elements = {};
-function foo() {
- bar += 1;
- if (bar === 2) throw new baz();
+for (var i= 0; i< 100; i++) {
+ dict_elements[2147483648 + i] = i;
}
-foo();
+var keys = Object.keys(dict_elements);
« no previous file with comments | « src/elements.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698