| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 20aa558c3d1e316789bffdf343b37003ff088d87..ef8b8b1836d0201a29014e4cc4ebef810a94187d 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -249,8 +249,8 @@ bool CompilationInfo::ShouldSelfOptimize() {
|
|
|
| void CompilationInfo::EnsureFeedbackVector() {
|
| if (feedback_vector_.is_null()) {
|
| - feedback_vector_ = isolate()->factory()->NewTypeFeedbackVector(
|
| - literal()->feedback_vector_spec());
|
| + feedback_vector_ =
|
| + TypeFeedbackVector::New(isolate(), literal()->feedback_vector_spec());
|
| }
|
|
|
| // It's very important that recompiles do not alter the structure of the
|
|
|