Index: src/objects-visiting-inl.h |
diff --git a/src/objects-visiting-inl.h b/src/objects-visiting-inl.h |
index 9398d6dfeaa975d8ac821b0c6fea978c9c4ac0a3..e90c74c80e7a8f73e01f3070aa1711f6cd9e6574 100644 |
--- a/src/objects-visiting-inl.h |
+++ b/src/objects-visiting-inl.h |
@@ -304,7 +304,7 @@ 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(rinfo->pc()); |
+ IC::Clear(target->GetIsolate(), rinfo->pc()); |
target = Code::GetCodeFromTargetAddress(rinfo->target_address()); |
} |
heap->mark_compact_collector()->RecordRelocSlot(rinfo, target); |