Index: src/arm/assembler-arm-inl.h |
diff --git a/src/arm/assembler-arm-inl.h b/src/arm/assembler-arm-inl.h |
index e3b39f407cb37a31d60e79cb5470a383cacad223..e132f50d0fe388ed41dabc60b0a386f73631191c 100644 |
--- a/src/arm/assembler-arm-inl.h |
+++ b/src/arm/assembler-arm-inl.h |
@@ -269,6 +269,15 @@ Object** RelocInfo::call_object_address() { |
} |
+void RelocInfo::WipeOut() { |
+ ASSERT(IsEmbeddedObject(rmode_) || |
+ IsCodeTarget(rmode_) || |
+ IsRuntimeEntry(rmode_) || |
+ IsExternalReference(rmode_)); |
+ Assembler::set_target_pointer_at(pc_, NULL); |
+} |
+ |
+ |
bool RelocInfo::IsPatchedReturnSequence() { |
Instr current_instr = Assembler::instr_at(pc_); |
Instr next_instr = Assembler::instr_at(pc_ + Assembler::kInstrSize); |