Index: src/ast/ast-numbering.cc |
diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc |
index abcc90eaa79fab400c99cfbe394c4e1e93adaac3..499760de147efc18fde6bff67458d3a9d8814f1f 100644 |
--- a/src/ast/ast-numbering.cc |
+++ b/src/ast/ast-numbering.cc |
@@ -137,8 +137,7 @@ void AstNumberingVisitor::VisitBreakStatement(BreakStatement* node) { |
void AstNumberingVisitor::VisitDebuggerStatement(DebuggerStatement* node) { |
IncrementNodeCount(); |
- DisableOptimization(kDebuggerStatement); |
- node->set_base_id(ReserveIdRange(DebuggerStatement::num_ids())); |
+ DisableFullCodegenAndCrankshaft(kDebuggerStatement); |
} |