| Index: src/x64/assembler-x64.h
|
| diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h
|
| index 4eaf163b7565f8d82a8cc4372ecbf0dd7e897d02..4214249efcf7ed33033a8b0e051ea8e3885f651c 100644
|
| --- a/src/x64/assembler-x64.h
|
| +++ b/src/x64/assembler-x64.h
|
| @@ -555,19 +555,8 @@ class Assembler : public AssemblerBase {
|
| // the absolute address of the target.
|
| // These functions convert between absolute Addresses of Code objects and
|
| // the relative displacements stored in the code.
|
| - static inline Address target_address_at(Address pc,
|
| - ConstantPoolArray* constant_pool);
|
| - static inline void set_target_address_at(Address pc,
|
| - ConstantPoolArray* constant_pool,
|
| - Address target);
|
| - static inline Address target_address_at(Address pc, Code* code) {
|
| - return target_address_at(pc, code->constant_pool());
|
| - }
|
| - static inline void set_target_address_at(Address pc,
|
| - Code* code,
|
| - Address target) {
|
| - set_target_address_at(pc, code->constant_pool(), target);
|
| - }
|
| + static inline Address target_address_at(Address pc);
|
| + static inline 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.
|
| @@ -576,8 +565,8 @@ class Assembler : public AssemblerBase {
|
| // 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(
|
| - Address instruction_payload, Code* code, Address target) {
|
| - set_target_address_at(instruction_payload, code, target);
|
| + Address instruction_payload, Address target) {
|
| + set_target_address_at(instruction_payload, target);
|
| }
|
|
|
| static inline RelocInfo::Mode RelocInfoNone() {
|
|
|