| Index: src/interpreter/interpreter.cc
|
| diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
|
| index b10ca01206498de488602fa36c3010467e109406..938d47ad1e48b69a6efdd606f5217c65d86a6888 100644
|
| --- a/src/interpreter/interpreter.cc
|
| +++ b/src/interpreter/interpreter.cc
|
| @@ -3023,7 +3023,7 @@ void Interpreter::DoReturn(InterpreterAssembler* assembler) {
|
| // Call runtime to handle debugger statement.
|
| void Interpreter::DoDebugger(InterpreterAssembler* assembler) {
|
| Node* context = __ GetContext();
|
| - __ CallRuntime(Runtime::kHandleDebuggerStatement, context);
|
| + __ CallStub(CodeFactory::HandleDebuggerStatement(isolate_), context);
|
| __ Dispatch();
|
| }
|
|
|
| @@ -3036,6 +3036,7 @@ void Interpreter::DoDebugger(InterpreterAssembler* assembler) {
|
| Node* accumulator = __ GetAccumulator(); \
|
| Node* original_handler = \
|
| __ CallRuntime(Runtime::kDebugBreakOnBytecode, context, accumulator); \
|
| + __ MaybeDropFrames(context); \
|
| __ DispatchToBytecodeHandler(original_handler); \
|
| }
|
| DEBUG_BREAK_BYTECODE_LIST(DEBUG_BREAK);
|
|
|