Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 7ba90200fa6a375930783444bd0138534678713e..5830370960cfa7b75f3a390dc87ef8a295be12a6 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2038,8 +2038,10 @@ bool Genesis::InstallNatives() { |
if (FLAG_vector_ics) { |
// Apply embeds an IC, so we need a type vector of size 1 in the shared |
// function info. |
+ FeedbackVectorSpec spec(0, 1); |
+ spec.SetKind(0, Code::CALL_IC); |
Handle<TypeFeedbackVector> feedback_vector = |
- factory()->NewTypeFeedbackVector(0, 1); |
+ factory()->NewTypeFeedbackVector(spec); |
apply->shared()->set_feedback_vector(*feedback_vector); |
} |