| Index: src/a64/assembler-a64.cc
|
| diff --git a/src/a64/assembler-a64.cc b/src/a64/assembler-a64.cc
|
| index 43b1391605f7392ffdd19266061dba9369fd8f66..66a02e0360b2493aad986040744b2ebec39ced8a 100644
|
| --- a/src/a64/assembler-a64.cc
|
| +++ b/src/a64/assembler-a64.cc
|
| @@ -160,6 +160,12 @@ bool RelocInfo::IsCodedSpecially() {
|
| }
|
|
|
|
|
| +bool RelocInfo::IsInConstantPool() {
|
| + Instruction* instr = reinterpret_cast<Instruction*>(pc_);
|
| + return instr->IsLdrLiteralX();
|
| +}
|
| +
|
| +
|
| void RelocInfo::PatchCode(byte* instructions, int instruction_count) {
|
| // Patch the code at the current address with the supplied instructions.
|
| Instr* pc = reinterpret_cast<Instr*>(pc_);
|
|
|