Index: src/ast/ast-numbering.cc |
diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc |
index 96d5372dee2b691d3130eece05482ceb9e3ca5c1..6c48a0740ff97f868846fd99166428d92058b039 100644 |
--- a/src/ast/ast-numbering.cc |
+++ b/src/ast/ast-numbering.cc |
@@ -119,7 +119,8 @@ |
void AstNumberingVisitor::VisitDebuggerStatement(DebuggerStatement* node) { |
IncrementNodeCount(); |
- DisableFullCodegenAndCrankshaft(kDebuggerStatement); |
+ DisableOptimization(kDebuggerStatement); |
+ node->set_base_id(ReserveIdRange(DebuggerStatement::num_ids())); |
} |