[es6] Disable tail call optimization in optimizing compilers for now.

BUG=v8:4698
LOG=N

Review URL: https://codereview.chromium.org/1713533002

Cr-Commit-Position: refs/heads/master@{#34115}
This commit is contained in:
ishell 2016-02-18 05:46:00 -08:00 committed by Commit bot
parent 55071954bc
commit 1d420199bf

View File

@ -505,7 +505,7 @@ void AstNumberingVisitor::VisitArrayLiteral(ArrayLiteral* node) {
void AstNumberingVisitor::VisitCall(Call* node) {
IncrementNodeCount();
if (node->tail_call_mode() == TailCallMode::kAllow) {
DisableCrankshaft(kTailCall);
DisableOptimization(kTailCall);
}
ReserveFeedbackSlots(node);
node->set_base_id(ReserveIdRange(Call::num_ids()));