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 []); |
+ } |
} |
} |