Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index e8a945407733b880a26aa75bd76ad83fe5646d0d..cfd18780795be70e6aa75736cf43e16ba11eb6e5 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -10342,10 +10342,6 @@ void JSFunction::StartInobjectSlackTracking() { |
void SharedFunctionInfo::ResetForNewContext(int new_ic_age) { |
- code()->ClearInlineCaches(); |
- // If we clear ICs, we need to clear the type feedback vector too, since |
- // CallICs are synced with a feedback vector slot. |
- ClearTypeFeedbackInfo(); |
set_ic_age(new_ic_age); |
if (code()->kind() == Code::FUNCTION) { |
code()->set_profiler_ticks(0); |