| Index: test/mjsunit/es6/tail-call.js
|
| diff --git a/test/mjsunit/es6/tail-call.js b/test/mjsunit/es6/tail-call.js
|
| index e9539c37ba09c1465a4c310972625980867f46ff..a97e2fed71e8963793e07093234ba74230efb17e 100644
|
| --- a/test/mjsunit/es6/tail-call.js
|
| +++ b/test/mjsunit/es6/tail-call.js
|
| @@ -3,6 +3,8 @@
|
| // found in the LICENSE file.
|
|
|
| // Flags: --allow-natives-syntax --harmony-tailcalls
|
| +// TODO(v8:4698), TODO(ishell): support these cases.
|
| +// Flags: --max-inlined-source-size=0
|
| "use strict";
|
|
|
| Error.prepareStackTrace = (error,stack) => {
|
| @@ -69,6 +71,7 @@ function f_153(expected_call_stack, a) {
|
| assertEquals(12, g4(1));
|
| }
|
| test();
|
| + test();
|
| %OptimizeFunctionOnNextCall(test);
|
| test();
|
| })();
|
| @@ -111,6 +114,7 @@ function f_153(expected_call_stack, a) {
|
| assertEquals(12, g4());
|
| }
|
| test();
|
| + test();
|
| %OptimizeFunctionOnNextCall(test);
|
| test();
|
| })();
|
| @@ -162,6 +166,7 @@ function f_153(expected_call_stack, a) {
|
| assertEquals(12, g4(1));
|
| }
|
| test();
|
| + test();
|
| %OptimizeFunctionOnNextCall(test);
|
| test();
|
| })();
|
| @@ -212,6 +217,7 @@ function f_153(expected_call_stack, a) {
|
| assertEquals(12, g4());
|
| }
|
| test();
|
| + test();
|
| %OptimizeFunctionOnNextCall(test);
|
| test();
|
| })();
|
| @@ -237,6 +243,7 @@ function f_153(expected_call_stack, a) {
|
| assertEquals(153, g3());
|
| }
|
| test();
|
| + test();
|
| %OptimizeFunctionOnNextCall(test);
|
| test();
|
| })();
|
| @@ -280,6 +287,7 @@ function f_153(expected_call_stack, a) {
|
| assertEquals(153, tc3());
|
| }
|
| test();
|
| + test();
|
| %OptimizeFunctionOnNextCall(test);
|
| test();
|
| })();
|
| @@ -321,6 +329,7 @@ function f_153(expected_call_stack, a) {
|
| assertEquals(153, tf3());
|
| }
|
| test();
|
| + test();
|
| %OptimizeFunctionOnNextCall(test);
|
| test();
|
| })();
|
| @@ -381,6 +390,7 @@ function f_153(expected_call_stack, a) {
|
| assertEquals(153, tcf4());
|
| }
|
| test();
|
| + test();
|
| %OptimizeFunctionOnNextCall(test);
|
| test();
|
| })();
|
|
|