Index: test/cctest/interpreter/test-interpreter.cc |
diff --git a/test/cctest/interpreter/test-interpreter.cc b/test/cctest/interpreter/test-interpreter.cc |
index d87f244318af3704fe3421e617976e7e4db33219..bbc6eee69fc262fdf0011c4d1c3169c12f906e6a 100644 |
--- a/test/cctest/interpreter/test-interpreter.cc |
+++ b/test/cctest/interpreter/test-interpreter.cc |
@@ -9,6 +9,7 @@ |
#include "src/interpreter/bytecode-array-builder.h" |
#include "src/interpreter/interpreter.h" |
#include "test/cctest/cctest.h" |
+#include "test/cctest/test-feedback-vector.h" |
namespace v8 { |
namespace internal { |
@@ -597,7 +598,7 @@ TEST(InterpreterLoadNamedProperty) { |
i::FeedbackVectorSlot slot = feedback_spec.AddLoadICSlot(); |
Handle<i::TypeFeedbackVector> vector = |
- i::TypeFeedbackVector::New(isolate, &feedback_spec); |
+ i::NewTypeFeedbackVector(isolate, &feedback_spec); |
Handle<i::String> name = factory->NewStringFromAsciiChecked("val"); |
name = factory->string_table()->LookupString(isolate, name); |
@@ -653,7 +654,7 @@ TEST(InterpreterLoadKeyedProperty) { |
i::FeedbackVectorSlot slot = feedback_spec.AddKeyedLoadICSlot(); |
Handle<i::TypeFeedbackVector> vector = |
- i::TypeFeedbackVector::New(isolate, &feedback_spec); |
+ i::NewTypeFeedbackVector(isolate, &feedback_spec); |
Handle<i::String> key = factory->NewStringFromAsciiChecked("key"); |
key = factory->string_table()->LookupString(isolate, key); |
@@ -697,7 +698,7 @@ TEST(InterpreterStoreNamedProperty) { |
i::FeedbackVectorSlot slot = feedback_spec.AddStoreICSlot(); |
Handle<i::TypeFeedbackVector> vector = |
- i::TypeFeedbackVector::New(isolate, &feedback_spec); |
+ i::NewTypeFeedbackVector(isolate, &feedback_spec); |
Handle<i::String> name = factory->NewStringFromAsciiChecked("val"); |
name = factory->string_table()->LookupString(isolate, name); |
@@ -759,7 +760,7 @@ TEST(InterpreterStoreKeyedProperty) { |
i::FeedbackVectorSlot slot = feedback_spec.AddKeyedStoreICSlot(); |
Handle<i::TypeFeedbackVector> vector = |
- i::TypeFeedbackVector::New(isolate, &feedback_spec); |
+ i::NewTypeFeedbackVector(isolate, &feedback_spec); |
Handle<i::String> name = factory->NewStringFromAsciiChecked("val"); |
name = factory->string_table()->LookupString(isolate, name); |
@@ -808,7 +809,7 @@ TEST(InterpreterCall) { |
i::FeedbackVectorSlot slot = feedback_spec.AddLoadICSlot(); |
Handle<i::TypeFeedbackVector> vector = |
- i::TypeFeedbackVector::New(isolate, &feedback_spec); |
+ i::NewTypeFeedbackVector(isolate, &feedback_spec); |
int slot_index = vector->GetIndex(slot); |
Handle<i::String> name = factory->NewStringFromAsciiChecked("func"); |