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-crbug-595657.js

Issue 1818883002: Version 5.0.71.20 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@5.0
Patch Set: Created 4 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/regexp/regexp-parser.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-595657.js
diff --git a/test/mjsunit/ignition/dead-code-source-position.js b/test/mjsunit/regress/regress-crbug-595657.js
similarity index 59%
copy from test/mjsunit/ignition/dead-code-source-position.js
copy to test/mjsunit/regress/regress-crbug-595657.js
index 95bb9183b880229a703e58503e9aec2a673015aa..653259781be24ec1acf1d5e2aa4f4de2f361d3ec 100644
--- a/test/mjsunit/ignition/dead-code-source-position.js
+++ b/test/mjsunit/regress/regress-crbug-595657.js
@@ -2,8 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-function f() {
- for (f(x) in []) { f(new f()) }
+// Flags: --stack-size=100
+
+function test() {
+ try {
+ test();
+ } catch(e) {
+ /(\2)(a)/.test("");
+ }
}
-f();
+test();
« no previous file with comments | « src/regexp/regexp-parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698