Index: src/ast-numbering.cc |
diff --git a/src/ast-numbering.cc b/src/ast-numbering.cc |
index 145025afa9394b02f06ee08e6bdc9bda4f4fd242..fb0df634e7a208469b9bb97b718a2c12998630d9 100644 |
--- a/src/ast-numbering.cc |
+++ b/src/ast-numbering.cc |
@@ -136,6 +136,15 @@ void AstNumberingVisitor::VisitNativeFunctionLiteral( |
} |
+void AstNumberingVisitor::VisitDoExpression(DoExpression* node) { |
+ IncrementNodeCount(); |
+ DisableCrankshaft(kDoExpression); |
+ node->set_base_id(ReserveIdRange(DoExpression::num_ids())); |
+ Visit(node->block()); |
+ Visit(node->result()); |
+} |
+ |
+ |
void AstNumberingVisitor::VisitLiteral(Literal* node) { |
IncrementNodeCount(); |
node->set_base_id(ReserveIdRange(Literal::num_ids())); |