Index: test/message/syntactic-tail-call-in-try.js |
diff --git a/test/mjsunit/regress/regress-crbug-595657.js b/test/message/syntactic-tail-call-in-try.js |
similarity index 64% |
copy from test/mjsunit/regress/regress-crbug-595657.js |
copy to test/message/syntactic-tail-call-in-try.js |
index 653259781be24ec1acf1d5e2aa4f4de2f361d3ec..97eb4f757ab27e898e888078a46b80a8df61097a 100644 |
--- a/test/mjsunit/regress/regress-crbug-595657.js |
+++ b/test/message/syntactic-tail-call-in-try.js |
@@ -2,14 +2,15 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Flags: --stack-size=100 |
+// Flags: --harmony-explicit-tailcalls |
-function test() { |
+function f() { |
+ return 1; |
+} |
+ |
+function g() { |
try { |
- test(); |
+ return continue f(); |
} catch(e) { |
- /(\2)(a)/.test(""); |
} |
} |
- |
-test(); |