Index: src/ast/ast-numbering.cc |
diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc |
index 67606f0a3bfbbfa161fcc2037e1d8758ba7c237a..9b49e300cee3a7de662e0b24cb787f73c680bec5 100644 |
--- a/src/ast/ast-numbering.cc |
+++ b/src/ast/ast-numbering.cc |
@@ -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())); |