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

Unified Diff: test/mjsunit/regress/regress-crbug-505007-1.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 | « no previous file | test/mjsunit/regress/regress-crbug-505007-2.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-505007-1.js
diff --git a/test/mjsunit/regress/regress-crbug-505007-1.js b/test/mjsunit/regress/regress-crbug-505007-1.js
index 6012577aaa4dadf0ce7eb3210c39aa341155837d..910f4a672055b3edf96a5edf1da8047ee8937520 100644
--- a/test/mjsunit/regress/regress-crbug-505007-1.js
+++ b/test/mjsunit/regress/regress-crbug-505007-1.js
@@ -4,11 +4,15 @@
// Flags: --stack-size=100 --allow-natives-syntax
+var count = 0;
function f() {
try {
f();
} catch(e) {
- %GetDebugContext();
+ if (count < 100) {
+ count++;
+ %GetDebugContext();
+ }
}
}
f();
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-crbug-505007-2.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698