Index: test/mjsunit/regress/regress-353058.js |
diff --git a/test/mjsunit/regress/regress-353058.js b/test/mjsunit/regress/regress-353058.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0fef24624713edb92e303ce4fbeab0e45e0edfed |
--- /dev/null |
+++ b/test/mjsunit/regress/regress-353058.js |
@@ -0,0 +1,27 @@ |
+// Copyright 2014 the V8 project authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// Flags: --stack-size=150 |
+// Requries ASAN. |
+ |
+function runNearStackLimit(f) { function t() { try { t(); } catch(e) { f(); } }; try { t(); } catch(e) {} } |
+function __f_0( |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x |
+) { } |
+runNearStackLimit(__f_0); |