| Index: src/heap/mark-compact.cc
|
| diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc
|
| index 473db2291f0cab19c0f41b3c99066ea1e1841890..9bb12f0ec5bc79c166954a07702624c619c644a3 100644
|
| --- a/src/heap/mark-compact.cc
|
| +++ b/src/heap/mark-compact.cc
|
| @@ -4009,7 +4009,7 @@ void MarkCompactCollector::RecordCodeTargetPatch(Address pc, Code* target) {
|
| isolate()->inner_pointer_to_code_cache()->GcSafeFindCodeForInnerPointer(
|
| pc);
|
| if (ObjectMarking::IsBlack(host)) {
|
| - RelocInfo rinfo(isolate(), pc, RelocInfo::CODE_TARGET, 0, host);
|
| + RelocInfo rinfo(pc, RelocInfo::CODE_TARGET, 0, host);
|
| // The target is always in old space, we don't have to record the slot in
|
| // the old-to-new remembered set.
|
| DCHECK(!heap()->InNewSpace(target));
|
|
|