Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index df3144882686f312dfc3e9dd72c1de98ddbc74de..be7b1c46ecb4e608672c7b33b773b55487903dc1 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -1286,8 +1286,9 @@ |
void AstGraphBuilder::VisitDebuggerStatement(DebuggerStatement* stmt) { |
- // Debugger statement is supported only by going through Ignition first. |
- UNREACHABLE(); |
+ Node* node = NewNode(javascript()->Debugger()); |
+ PrepareFrameState(node, stmt->DebugBreakId()); |
+ environment()->MarkAllLocalsLive(); |
} |