| Index: src/x64/assembler-x64.h
|
| diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h
|
| index 39a6863a0b2ab164e6fa8b5095e94a98f398ecfb..9692ec02f9887fe70e898f36bdbf0564388d5d3f 100644
|
| --- a/src/x64/assembler-x64.h
|
| +++ b/src/x64/assembler-x64.h
|
| @@ -590,6 +590,15 @@ class Assembler : public AssemblerBase {
|
| set_target_address_at(instruction_payload, target);
|
| }
|
|
|
| + static inline RelocInfo::Mode RelocInfoNone() {
|
| + if (kPointerSize == kInt64Size) {
|
| + return RelocInfo::NONE64;
|
| + } else {
|
| + ASSERT(kPointerSize == kInt32Size);
|
| + return RelocInfo::NONE32;
|
| + }
|
| + }
|
| +
|
| inline Handle<Object> code_target_object_handle_at(Address pc);
|
| inline Address runtime_entry_at(Address pc);
|
| // Number of bytes taken up by the branch target in the code.
|
|
|