Index: src/ast/ast-numbering.cc |
diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc |
index f84321de4c84f17c96f8dd309b07f821c87109a7..07d60cf84ab6fd5085b861834a4eb48c6ff149ed 100644 |
--- a/src/ast/ast-numbering.cc |
+++ b/src/ast/ast-numbering.cc |
@@ -414,6 +414,13 @@ void AstNumberingVisitor::VisitEmptyParentheses(EmptyParentheses* node) { |
UNREACHABLE(); |
} |
+void AstNumberingVisitor::VisitGetIterator(GetIterator* node) { |
+ IncrementNodeCount(); |
+ DisableFullCodegenAndCrankshaft(kGetIterator); |
+ node->set_base_id(ReserveIdRange(GetIterator::num_ids())); |
+ Visit(node->iterable()); |
+ ReserveFeedbackSlots(node); |
+} |
void AstNumberingVisitor::VisitForInStatement(ForInStatement* node) { |
IncrementNodeCount(); |