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

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

Issue 1151333005: A couple of other "stack overflow" vs. "has_pending_exception()" issues fixed. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebasing and try failures fixes Created 5 years, 6 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 | « test/mjsunit/mjsunit.status ('k') | test/mjsunit/regress/regress-crbug-471659.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-450960.js
diff --git a/test/mjsunit/regress/regress-crbug-450960.js b/test/mjsunit/regress/regress-crbug-450960.js
index f745522dbe7d88ce2834e8d22f3ecbb93e6e9f91..28db6dff8b8cb137b7cd1e397a37ab1047c32f4c 100644
--- a/test/mjsunit/regress/regress-crbug-450960.js
+++ b/test/mjsunit/regress/regress-crbug-450960.js
@@ -2,15 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --stack-size=70
+// Flags: --stack-size=100
"a".replace(/a/g, "");
+var count = 0;
function test() {
try {
test();
} catch(e) {
- "b".replace(/(b)/g, new []);
+ if (count < 50) {
+ count++;
+ "b".replace(/(b)/g, new []);
+ }
}
}
« no previous file with comments | « test/mjsunit/mjsunit.status ('k') | test/mjsunit/regress/regress-crbug-471659.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698