Index: src/heap/objects-visiting-inl.h |
diff --git a/src/heap/objects-visiting-inl.h b/src/heap/objects-visiting-inl.h |
index e6334f365bc250c56b3725ac6f1d69474b35bec6..0571b321f0c6aa87907ca9bcb47500d404477f7e 100644 |
--- a/src/heap/objects-visiting-inl.h |
+++ b/src/heap/objects-visiting-inl.h |
@@ -446,7 +446,7 @@ void StaticMarkingVisitor<StaticVisitor>::VisitSharedFunctionInfo( |
shared->ResetForNewContext(heap->global_ic_age()); |
} |
if (FLAG_cleanup_code_caches_at_gc) { |
- shared->ClearTypeFeedbackInfo(); |
+ shared->ClearTypeFeedbackInfoAtGCTime(); |
} |
if (FLAG_cache_optimized_code && FLAG_flush_optimized_code_cache && |
!shared->optimized_code_map()->IsSmi()) { |