| Index: src/x64/assembler-x64.h
|
| ===================================================================
|
| --- src/x64/assembler-x64.h (revision 3154)
|
| +++ src/x64/assembler-x64.h (working copy)
|
| @@ -458,6 +458,11 @@
|
| // the relative displacements stored in the code.
|
| static inline Address target_address_at(Address pc);
|
| static inline void set_target_address_at(Address pc, Address target);
|
| + // This sets the branch destination (which is in the instruction on x64).
|
| + inline static void set_target_at(Address instruction_payload,
|
| + Address target) {
|
| + set_target_address_at(instruction_payload, target);
|
| + }
|
| inline Handle<Object> code_target_object_handle_at(Address pc);
|
| // Number of bytes taken up by the branch target in the code.
|
| static const int kCallTargetSize = 4; // Use 32-bit displacement.
|
|
|