Index: src/heap/incremental-marking.cc |
diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc |
index 40468c9f6bf8dc28ff7243566b22e8709ce63194..c15a3e29608f3c4d551e9c46a7a97ab3eafc883c 100644 |
--- a/src/heap/incremental-marking.cc |
+++ b/src/heap/incremental-marking.cc |
@@ -81,7 +81,7 @@ void IncrementalMarking::RecordWriteOfCodeEntryFromCode(JSFunction* host, |
void IncrementalMarking::RecordCodeTargetPatch(Code* host, Address pc, |
HeapObject* value) { |
if (IsMarking()) { |
- RelocInfo rinfo(heap_->isolate(), pc, RelocInfo::CODE_TARGET, 0, host); |
+ RelocInfo rinfo(pc, RelocInfo::CODE_TARGET, 0, host); |
RecordWriteIntoCode(host, &rinfo, value); |
} |
} |
@@ -92,7 +92,7 @@ void IncrementalMarking::RecordCodeTargetPatch(Address pc, HeapObject* value) { |
Code* host = heap_->isolate() |
->inner_pointer_to_code_cache() |
->GcSafeFindCodeForInnerPointer(pc); |
- RelocInfo rinfo(heap_->isolate(), pc, RelocInfo::CODE_TARGET, 0, host); |
+ RelocInfo rinfo(pc, RelocInfo::CODE_TARGET, 0, host); |
RecordWriteIntoCode(host, &rinfo, value); |
} |
} |