Index: src/mips/assembler-mips-inl.h |
diff --git a/src/mips/assembler-mips-inl.h b/src/mips/assembler-mips-inl.h |
index de91051ed025b00d23b29c4d75cae8042423068b..e763623c6f6dd3136e44595c4aa5abf5751b3495 100644 |
--- a/src/mips/assembler-mips-inl.h |
+++ b/src/mips/assembler-mips-inl.h |
@@ -326,6 +326,15 @@ void RelocInfo::set_call_object(Object* target) { |
} |
+void RelocInfo::WipeOut() { |
+ ASSERT(IsEmbeddedObject(rmode_) || |
+ IsCodeTarget(rmode_) || |
+ IsRuntimeEntry(rmode_) || |
+ IsExternalReference(rmode_)); |
+ Assembler::set_target_address_at(pc_, NULL); |
+} |
+ |
+ |
bool RelocInfo::IsPatchedReturnSequence() { |
Instr instr0 = Assembler::instr_at(pc_); |
Instr instr1 = Assembler::instr_at(pc_ + 1 * Assembler::kInstrSize); |