Index: src/mips/assembler-mips.h |
diff --git a/src/mips/assembler-mips.h b/src/mips/assembler-mips.h |
index 6ee21c232e31d8f35341985e555bcf2761daf4aa..59c45c927acdcb2fd809d3b67a73bb8789f13bd5 100644 |
--- a/src/mips/assembler-mips.h |
+++ b/src/mips/assembler-mips.h |
@@ -574,6 +574,10 @@ class Assembler : public AssemblerBase { |
static Address target_address_at(Address pc); |
static void set_target_address_at(Address pc, Address target); |
+ // Return the code target address at a call site from the return address |
+ // of that call in the instruction stream. |
+ inline static Address target_address_from_return_address(Address pc); |
+ |
static void JumpLabelToJumpRegister(Address pc); |
static void QuietNaN(HeapObject* nan); |
@@ -634,6 +638,8 @@ class Assembler : public AssemblerBase { |
// register. |
static const int kPcLoadDelta = 4; |
+ static const int kPatchDebugBreakSlotReturnOffset = 4 * kInstrSize; |
+ |
// Number of instructions used for the JS return sequence. The constant is |
// used by the debugger to patch the JS return sequence. |
static const int kJSReturnSequenceInstructions = 7; |