Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index cb2501eb92e504b9763495596daad1ae6888445b..48c5519f791418a2aa12a55762e40e63e632a3db 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -2285,7 +2285,7 @@ void Debug::SetAfterBreakTarget(JavaScriptFrame* frame) { |
// Find the call address in the running code. This address holds the call to |
// either a DebugBreakXXX or to the debug break return entry code if the |
// break point is still active after processing the break point. |
- Address addr = frame->pc() - Assembler::kCallTargetAddressOffset; |
+ Address addr = frame->pc() - Assembler::kPatchDebugBreakSlotReturnOffset; |
// Check if the location is at JS exit or debug break slot. |
bool at_js_return = false; |
@@ -2374,7 +2374,7 @@ bool Debug::IsBreakAtReturn(JavaScriptFrame* frame) { |
#endif |
// Find the call address in the running code. |
- Address addr = frame->pc() - Assembler::kCallTargetAddressOffset; |
+ Address addr = frame->pc() - Assembler::kPatchDebugBreakSlotReturnOffset; |
// Check if the location is at JS return. |
RelocIterator it(debug_info->code()); |