aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/test/unittests/compiler/js-create-lowering-unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/unittests/compiler/js-create-lowering-unittest.cc')
-rw-r--r--deps/v8/test/unittests/compiler/js-create-lowering-unittest.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/deps/v8/test/unittests/compiler/js-create-lowering-unittest.cc b/deps/v8/test/unittests/compiler/js-create-lowering-unittest.cc
index 56516c9ed0..c982f8f18c 100644
--- a/deps/v8/test/unittests/compiler/js-create-lowering-unittest.cc
+++ b/deps/v8/test/unittests/compiler/js-create-lowering-unittest.cc
@@ -11,8 +11,8 @@
#include "src/compiler/machine-operator.h"
#include "src/compiler/node-properties.h"
#include "src/compiler/operator-properties.h"
+#include "src/feedback-vector.h"
#include "src/isolate-inl.h"
-#include "src/type-feedback-vector.h"
#include "test/unittests/compiler/compiler-test-utils.h"
#include "test/unittests/compiler/graph-unittest.h"
#include "test/unittests/compiler/node-test-utils.h"
@@ -149,10 +149,9 @@ TEST_F(JSCreateLoweringTest, JSCreateClosureViaInlinedAllocation) {
// Create a mock feedback vector. It just has to be an array with an array
// in slot 0.
Handle<FixedArray> array = isolate()->factory()->NewFixedArray(
- TypeFeedbackVector::kReservedIndexCount + 1);
- array->set_map_no_write_barrier(
- isolate()->heap()->type_feedback_vector_map());
- Handle<TypeFeedbackVector> vector = Handle<TypeFeedbackVector>::cast(array);
+ FeedbackVector::kReservedIndexCount + 1);
+ array->set_map_no_write_barrier(isolate()->heap()->feedback_vector_map());
+ Handle<FeedbackVector> vector = Handle<FeedbackVector>::cast(array);
FeedbackVectorSlot slot(0);
vector->Set(slot, *vector);
VectorSlotPair pair(vector, slot);