Index: src/ia32/assembler-ia32-inl.h |
diff --git a/src/ia32/assembler-ia32-inl.h b/src/ia32/assembler-ia32-inl.h |
index 1da3f81f8a5527b7b6bfd8f303d0d783c985eda0..a9247f46fdecef64a9c18a74282118d1a24e08f6 100644 |
--- a/src/ia32/assembler-ia32-inl.h |
+++ b/src/ia32/assembler-ia32-inl.h |
@@ -225,9 +225,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)); |
@@ -237,7 +237,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); |