Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 9b378b92bb5afa23726f719a2446c77817aeb31a..9f7773c478ee543ed272ceb1867a63d124ce2d8b 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2143,10 +2143,9 @@ 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); |
+ FeedbackVectorSpec spec(0, Code::CALL_IC); |
Handle<TypeFeedbackVector> feedback_vector = |
- factory()->NewTypeFeedbackVector(spec); |
+ factory()->NewTypeFeedbackVector(&spec); |
apply->shared()->set_feedback_vector(*feedback_vector); |
} |