Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 28c6ebb47ed393300ff5e9a73de2b6b5b06f51d4..9cf0a13927f69f601529ec0c1b592a1aeffe7c7e 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -10834,6 +10834,13 @@ void Code::ClearInlineCaches(Code::Kind* kind) { |
void SharedFunctionInfo::ClearTypeFeedbackInfo() { |
feedback_vector()->ClearSlots(this); |
+ feedback_vector()->ClearICSlots(this); |
+} |
+ |
+ |
+void SharedFunctionInfo::ClearTypeFeedbackInfoAtGCTime() { |
+ feedback_vector()->ClearSlots(this); |
+ feedback_vector()->ClearICSlotsAtGCTime(this); |
} |