| Index: src/compiler/bytecode-graph-builder.cc
|
| diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc
|
| index c23607e5cb054b0beaa9ec5f166c1f5178c606c8..7a0f635651718a915bc275b2a1a35370eb5f1f82 100644
|
| --- a/src/compiler/bytecode-graph-builder.cc
|
| +++ b/src/compiler/bytecode-graph-builder.cc
|
| @@ -1819,9 +1819,8 @@ void BytecodeGraphBuilder::VisitReturn() {
|
|
|
| void BytecodeGraphBuilder::VisitDebugger() {
|
| PrepareEagerCheckpoint();
|
| - Node* call =
|
| - NewNode(javascript()->CallRuntime(Runtime::kHandleDebuggerStatement));
|
| - environment()->BindAccumulator(call, Environment::kAttachFrameState);
|
| + Node* call = NewNode(javascript()->Debugger());
|
| + environment()->RecordAfterState(call, Environment::kAttachFrameState);
|
| }
|
|
|
| // We cannot create a graph from the debugger copy of the bytecode array.
|
|
|