Index: src/arm/assembler-arm-inl.h |
diff --git a/src/arm/assembler-arm-inl.h b/src/arm/assembler-arm-inl.h |
index 31843420ecf31ce4e81d8b3aed0f0538f43ea813..b1f33e009ee6ec3960b04db2dc72c58be0831090 100644 |
--- a/src/arm/assembler-arm-inl.h |
+++ b/src/arm/assembler-arm-inl.h |
@@ -99,20 +99,6 @@ int RelocInfo::target_address_size() { |
} |
-void RelocInfo::set_target_address(Address target, |
- WriteBarrierMode write_barrier_mode, |
- ICacheFlushMode icache_flush_mode) { |
- DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); |
- Assembler::set_target_address_at(isolate_, pc_, host_, target, |
- icache_flush_mode); |
- if (write_barrier_mode == UPDATE_WRITE_BARRIER && |
- host() != NULL && IsCodeTarget(rmode_)) { |
- Object* target_code = Code::GetCodeFromTargetAddress(target); |
- host()->GetHeap()->incremental_marking()->RecordWriteIntoCode( |
- host(), this, HeapObject::cast(target_code)); |
- } |
-} |
- |
Object* RelocInfo::target_object() { |
DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); |
return reinterpret_cast<Object*>(Assembler::target_address_at(pc_, host_)); |