Index: src/ppc/assembler-ppc.cc |
diff --git a/src/ppc/assembler-ppc.cc b/src/ppc/assembler-ppc.cc |
index 021ae1d11165814b3abe7d27559e245dd048bba4..671133f998eb465d942a241b042559fe761a9cf5 100644 |
--- a/src/ppc/assembler-ppc.cc |
+++ b/src/ppc/assembler-ppc.cc |
@@ -160,27 +160,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-ppc-inl.h for inlined constructors |