Index: src/interpreter/interpreter.cc |
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
index 3e8a045d229f921cf449c3c7bbc599bed4b550e4..9c3ad6baa17f63d9a16eb5429d60b75a0107b4bc 100644 |
--- a/src/interpreter/interpreter.cc |
+++ b/src/interpreter/interpreter.cc |
@@ -1483,11 +1483,13 @@ void Interpreter::DoDebugger(InterpreterAssembler* assembler) { |
// DebugBreak |
// |
// Call runtime to handle a debug break. |
-#define DEBUG_BREAK(Name, ...) \ |
- void Interpreter::Do##Name(InterpreterAssembler* assembler) { \ |
- Node* context = __ GetContext(); \ |
- Node* original_handler = __ CallRuntime(Runtime::kDebugBreak, context); \ |
- __ DispatchToBytecodeHandler(original_handler); \ |
+#define DEBUG_BREAK(Name, ...) \ |
+ void Interpreter::Do##Name(InterpreterAssembler* assembler) { \ |
+ Node* context = __ GetContext(); \ |
+ Node* accumulator = __ GetAccumulator(); \ |
+ Node* original_handler = \ |
+ __ CallRuntime(Runtime::kDebugBreakOnBytecode, context, accumulator); \ |
+ __ DispatchToBytecodeHandler(original_handler); \ |
} |
DEBUG_BREAK_BYTECODE_LIST(DEBUG_BREAK); |
#undef DEBUG_BREAK |