| Index: test/message/syntactic-tail-call-in-try-catch-finally.js
|
| diff --git a/test/mjsunit/regress/regress-crbug-595657.js b/test/message/syntactic-tail-call-in-try-catch-finally.js
|
| similarity index 58%
|
| copy from test/mjsunit/regress/regress-crbug-595657.js
|
| copy to test/message/syntactic-tail-call-in-try-catch-finally.js
|
| index 653259781be24ec1acf1d5e2aa4f4de2f361d3ec..f2edf6e183e2fe17867a21f067c54e5fc7dafe17 100644
|
| --- a/test/mjsunit/regress/regress-crbug-595657.js
|
| +++ b/test/message/syntactic-tail-call-in-try-catch-finally.js
|
| @@ -2,14 +2,18 @@
|
| // 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();
|
| + f();
|
| } catch(e) {
|
| - /(\2)(a)/.test("");
|
| + return continue f();
|
| + } finally {
|
| + f();
|
| }
|
| }
|
| -
|
| -test();
|
|
|