| Index: src/arm64/assembler-arm64.cc
|
| diff --git a/src/arm64/assembler-arm64.cc b/src/arm64/assembler-arm64.cc
|
| index bba78c89e47441f0f901b2e55729bf13b5b26556..93d1d25a6c7747628d51c0c4466432ad9e749fd8 100644
|
| --- a/src/arm64/assembler-arm64.cc
|
| +++ b/src/arm64/assembler-arm64.cc
|
| @@ -188,26 +188,6 @@ bool RelocInfo::IsInConstantPool() {
|
| }
|
|
|
|
|
| -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_);
|
| - Instr* instr = reinterpret_cast<Instr*>(instructions);
|
| - for (int i = 0; i < instruction_count; i++) {
|
| - *(pc + i) = *(instr + i);
|
| - }
|
| -
|
| - // Indicate that code has changed.
|
| - CpuFeatures::FlushICache(pc_, instruction_count * kInstructionSize);
|
| -}
|
| -
|
| -
|
| -// Patch the code at the current PC with a call to the target address.
|
| -// Additional guard instructions can be added if required.
|
| -void RelocInfo::PatchCodeWithCall(Address target, int guard_bytes) {
|
| - UNIMPLEMENTED();
|
| -}
|
| -
|
| -
|
| Register GetAllocatableRegisterThatIsNotOneOf(Register reg1, Register reg2,
|
| Register reg3, Register reg4) {
|
| CPURegList regs(reg1, reg2, reg3, reg4);
|
|
|