| Index: src/mips/assembler-mips.cc
|
| diff --git a/src/mips/assembler-mips.cc b/src/mips/assembler-mips.cc
|
| index 13dd0cd2f9ec8a07ecb1bbbdb01d070a942566bf..e005f19712f74730c2489df2d741a810c8b920cc 100644
|
| --- a/src/mips/assembler-mips.cc
|
| +++ b/src/mips/assembler-mips.cc
|
| @@ -214,27 +214,6 @@ bool RelocInfo::IsInConstantPool() {
|
| }
|
|
|
|
|
| -// Patch the code at the current address with the supplied instructions.
|
| -void RelocInfo::PatchCode(byte* instructions, int instruction_count) {
|
| - 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_MIPS();
|
| -}
|
| -
|
| -
|
| // -----------------------------------------------------------------------------
|
| // Implementation of Operand and MemOperand.
|
| // See assembler-mips-inl.h for inlined constructors.
|
|
|