Index: src/interpreter/interpreter.cc |
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
index 1c98dc7eb58d07d93baa0d484665861e42af1d0a..a9d99a0a837a4fe001a8eb5c107950e6460ae1da 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 |