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(); |