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

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

Issue 201313002: Fix ASSERT violation when BinaryOpIC::Transition recurses into itself (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: refactored Created 6 years, 9 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/ic.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-352586.js
diff --git a/test/mjsunit/regress/regress-350865.js b/test/mjsunit/regress/regress-crbug-352586.js
similarity index 53%
copy from test/mjsunit/regress/regress-350865.js
copy to test/mjsunit/regress/regress-crbug-352586.js
index 74234db8842929a57d93a10cda0f62078f014845..2210480990b30e5e899030e6588a29a03a56a1f3 100644
--- a/test/mjsunit/regress/regress-350865.js
+++ b/test/mjsunit/regress/regress-crbug-352586.js
@@ -2,16 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --stress-compaction --stack-size=150
+var a = {};
-/\2/.test("1");
-
-function rec() {
- try {
- rec();
- } catch(e) {
- /\2/.test("1");
- }
+function getter() {
+ do {
+ return a + 1;
+ } while (false);
}
-rec();
+a.__proto__ = Error("");
+a.__defineGetter__('message', getter);
+a.message;
« no previous file with comments | « src/ic.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698