Index: src/objects-visiting-inl.h |
diff --git a/src/objects-visiting-inl.h b/src/objects-visiting-inl.h |
index 010f3068a9e3ce1b7e493cb513e3c8df9fef3562..20d24d4234c10da71672a5d6a1cb8156a17414cf 100644 |
--- a/src/objects-visiting-inl.h |
+++ b/src/objects-visiting-inl.h |
@@ -313,7 +313,8 @@ void StaticMarkingVisitor<StaticVisitor>::VisitCodeTarget( |
&& (target->ic_state() == MEGAMORPHIC || target->ic_state() == GENERIC || |
target->ic_state() == POLYMORPHIC || heap->flush_monomorphic_ics() || |
Serializer::enabled() || target->ic_age() != heap->global_ic_age())) { |
- IC::Clear(target->GetIsolate(), rinfo->pc()); |
+ IC::Clear(target->GetIsolate(), rinfo->pc(), |
+ rinfo->host()->constant_pool()); |
target = Code::GetCodeFromTargetAddress(rinfo->target_address()); |
} |
heap->mark_compact_collector()->RecordRelocSlot(rinfo, target); |