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

Unified Diff: test/mjsunit/regress/regress-crbug-505007-2.js

Issue 1238273003: Speedup some slow running stack-overflow tests. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « test/mjsunit/regress/regress-crbug-505007-1.js ('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-505007-2.js
diff --git a/test/mjsunit/regress/regress-crbug-505007-2.js b/test/mjsunit/regress/regress-crbug-505007-2.js
index dfa34ae6adec495615ef73a2f5c97aa21f5f415c..96014c848d4263d75d79b127ab63be18a2feed40 100644
--- a/test/mjsunit/regress/regress-crbug-505007-2.js
+++ b/test/mjsunit/regress/regress-crbug-505007-2.js
@@ -5,11 +5,16 @@
// Flags: --stack-size=100 --allow-natives-syntax
function g() {}
+
+var count = 0;
function f() {
try {
f();
} catch(e) {
- %ExecuteInDebugContext(g);
+ if (count < 100) {
+ count++;
+ %ExecuteInDebugContext(g);
+ }
}
}
f();
« no previous file with comments | « test/mjsunit/regress/regress-crbug-505007-1.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698