Index: src/interpreter/interpreter.cc |
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
index 1ff57a7ca2823894054eed0eb2dc8717136a0539..70bf311ee117e993c665e8f029c321b65423cf0b 100644 |
--- a/src/interpreter/interpreter.cc |
+++ b/src/interpreter/interpreter.cc |
@@ -1485,11 +1485,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 |