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