Index: src/ast/ast-numbering.cc |
diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc |
index 0ed35cac6c0671ab734374ad81594a2a1e6620c8..834d328bd25a5134bdb88e3a3eb591997e500441 100644 |
--- a/src/ast/ast-numbering.cc |
+++ b/src/ast/ast-numbering.cc |
@@ -506,6 +506,9 @@ void AstNumberingVisitor::VisitArrayLiteral(ArrayLiteral* node) { |
void AstNumberingVisitor::VisitCall(Call* node) { |
IncrementNodeCount(); |
+ if (node->tail_call_mode() == TailCallMode::kAllow) { |
+ DisableCrankshaft(kTailCall); |
+ } |
ReserveFeedbackSlots(node); |
node->set_base_id(ReserveIdRange(Call::num_ids())); |
Visit(node->expression()); |