Index: src/x64/assembler-x64-inl.h |
diff --git a/src/x64/assembler-x64-inl.h b/src/x64/assembler-x64-inl.h |
index 0607bfce78c46020648293b6ce949cbe581e3f5d..518df5a47ccd019703197c8ef709ff425fc4713a 100644 |
--- a/src/x64/assembler-x64-inl.h |
+++ b/src/x64/assembler-x64-inl.h |
@@ -350,20 +350,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 Memory::Object_at(pc_); |