| Index: src/arm/assembler-arm.cc
|
| diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc
|
| index 35279e557c8a99d8daccf713b4c3be4e1892d8a9..cf14172b564c0534831682929a2653d5756060cc 100644
|
| --- a/src/arm/assembler-arm.cc
|
| +++ b/src/arm/assembler-arm.cc
|
| @@ -300,6 +300,11 @@ bool RelocInfo::IsCodedSpecially() {
|
| }
|
|
|
|
|
| +bool RelocInfo::IsInConstantPool() {
|
| + return Assembler::IsLdrPcImmediateOffset(Memory::int32_at(pc_));
|
| +}
|
| +
|
| +
|
| 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_);
|
|
|