Index: src/arm/assembler-arm.cc |
diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc |
index bbc766bed3d743bf77f2d9baa1c5487a07ed0d52..b1e664ac26542f91dacc4da12f6121ab4285aaf2 100644 |
--- a/src/arm/assembler-arm.cc |
+++ b/src/arm/assembler-arm.cc |
@@ -246,27 +246,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 * Assembler::kInstrSize); |
-} |
- |
- |
-// 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) { |
- // Patch the code at the current address with a call to the target. |
- UNIMPLEMENTED(); |
-} |
- |
- |
// ----------------------------------------------------------------------------- |
// Implementation of Operand and MemOperand |
// See assembler-arm-inl.h for inlined constructors |