Index: src/x64/assembler-x64-inl.h |
diff --git a/src/x64/assembler-x64-inl.h b/src/x64/assembler-x64-inl.h |
index 439236a9b684979efb4f5e1cc4d43fcb8b169b42..9541a58bfb58ed83d396e4efa889089378403def 100644 |
--- a/src/x64/assembler-x64-inl.h |
+++ b/src/x64/assembler-x64-inl.h |
@@ -393,9 +393,9 @@ void RelocInfo::Visit(Heap* heap) { |
StaticVisitor::VisitPointer(heap, target_object_address()); |
CPU::FlushICache(pc_, sizeof(Address)); |
} else if (RelocInfo::IsCodeTarget(mode)) { |
- StaticVisitor::VisitCodeTarget(this); |
+ StaticVisitor::VisitCodeTarget(heap, this); |
} else if (mode == RelocInfo::GLOBAL_PROPERTY_CELL) { |
- StaticVisitor::VisitGlobalPropertyCell(this); |
+ StaticVisitor::VisitGlobalPropertyCell(heap, this); |
} else if (mode == RelocInfo::EXTERNAL_REFERENCE) { |
StaticVisitor::VisitExternalReference(target_reference_address()); |
CPU::FlushICache(pc_, sizeof(Address)); |
@@ -405,7 +405,7 @@ void RelocInfo::Visit(Heap* heap) { |
IsPatchedReturnSequence()) || |
(RelocInfo::IsDebugBreakSlot(mode) && |
IsPatchedDebugBreakSlotSequence()))) { |
- StaticVisitor::VisitDebugTarget(this); |
+ StaticVisitor::VisitDebugTarget(heap, this); |
#endif |
} else if (mode == RelocInfo::RUNTIME_ENTRY) { |
StaticVisitor::VisitRuntimeEntry(this); |