[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:
parent
55071954bc
commit
1d420199bf
@ -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()));
|
||||
|
Loading…
Reference in New Issue
Block a user