Index: src/ast-numbering.cc |
diff --git a/src/ast-numbering.cc b/src/ast-numbering.cc |
index 70ba5cb0370f6d2835069d0959d6d77af625c03f..d9882ae672c5298e19b5b23e64ec93a99477c8bc 100644 |
--- a/src/ast-numbering.cc |
+++ b/src/ast-numbering.cc |
@@ -291,6 +291,7 @@ void AstNumberingVisitor::VisitCallRuntime(CallRuntime* node) { |
void AstNumberingVisitor::VisitWithStatement(WithStatement* node) { |
IncrementNodeCount(); |
DisableOptimization(kWithStatement); |
+ node->set_base_id(ReserveIdRange(WithStatement::num_ids())); |
Visit(node->expression()); |
Visit(node->statement()); |
} |