Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1573)

Unified Diff: test/mjsunit/es6/tail-call.js

Issue 1760253003: [crankshaft] Support ES6 tail call elimination. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@tco-crank-2
Patch Set: Addressing comments Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | test/mjsunit/es6/tail-call-megatest.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
})();
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | test/mjsunit/es6/tail-call-megatest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698