Index: src/ast-numbering.cc |
diff --git a/src/ast-numbering.cc b/src/ast-numbering.cc |
index a2bc65827d9ded4afdc131c0467d2dab6d0006f4..56be4ead9dd42029fb3599244a127d3e422f9326 100644 |
--- a/src/ast-numbering.cc |
+++ b/src/ast-numbering.cc |
@@ -365,6 +365,13 @@ void AstNumberingVisitor::VisitCompareOperation(CompareOperation* node) { |
} |
+void AstNumberingVisitor::VisitSpreadOperation(SpreadOperation* node) { |
+ IncrementNodeCount(); |
+ node->set_base_id(ReserveIdRange(SpreadOperation::num_ids())); |
+ Visit(node->expression()); |
+} |
+ |
+ |
void AstNumberingVisitor::VisitForInStatement(ForInStatement* node) { |
IncrementNodeCount(); |
DisableSelfOptimization(); |