Index: src/ic/ic-state.cc |
diff --git a/src/ic/ic-state.cc b/src/ic/ic-state.cc |
index 5a17bc8688c77514d1ed2865675524d31f75ba06..18ea7f310585dd5e81bed79b8ff70402e633e699 100644 |
--- a/src/ic/ic-state.cc |
+++ b/src/ic/ic-state.cc |
@@ -18,12 +18,18 @@ void ICUtility::Clear(Isolate* isolate, Address address, |
// static |
+template <class Nexus> |
void ICUtility::Clear(Isolate* isolate, Code::Kind kind, Code* host, |
- TypeFeedbackVector* vector, FeedbackVectorICSlot slot) { |
- IC::Clear(isolate, kind, host, vector, slot); |
+ Nexus* nexus) { |
+ IC::Clear<Nexus>(isolate, kind, host, nexus); |
} |
+// Force instantiation of template instances for vector-based IC clearing. |
+template void ICUtility::Clear<CallICNexus>(Isolate*, Code::Kind, Code*, |
+ CallICNexus*); |
+ |
+ |
CallICState::CallICState(ExtraICState extra_ic_state) |
: argc_(ArgcBits::decode(extra_ic_state)), |
call_type_(CallTypeBits::decode(extra_ic_state)) {} |