Index: src/x64/assembler-x64.h |
diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h |
index e00b403199444265b70f17197dc582ab99f1dbae..403c11f18210aac7b50db3012db03f776293f833 100644 |
--- a/src/x64/assembler-x64.h |
+++ b/src/x64/assembler-x64.h |
@@ -581,6 +581,8 @@ class Assembler : public AssemblerBase { |
static inline Address target_address_at(Address pc); |
static inline void set_target_address_at(Address pc, Address target); |
+ static inline Address target_address_from_return_address(Address pc); |
Michael Starzinger
2012/10/10 14:19:29
See comment in ARM assembler.
danno
2012/10/17 10:04:44
Done.
|
+ |
// This sets the branch destination (which is in the instruction on x64). |
// This is for calls and branches within generated code. |
inline static void deserialization_set_special_target_at( |
@@ -620,6 +622,7 @@ class Assembler : public AssemblerBase { |
static const int kCallInstructionLength = 13; |
static const int kJSReturnSequenceLength = 13; |
static const int kShortCallInstructionLength = 5; |
+ static const int kPatchDebugBreakSlotReturnOffset = 4; |
// The debug break slot must be able to contain a call instruction. |
static const int kDebugBreakSlotLength = kCallInstructionLength; |