Index: test/unittests/compiler/js-type-feedback-unittest.cc |
diff --git a/test/unittests/compiler/js-type-feedback-unittest.cc b/test/unittests/compiler/js-type-feedback-unittest.cc |
index 93fd4953193fa680706b4239aa17ed554016071f..7737cfeeed72d68cc03350c47aa70113fe3eb1d8 100644 |
--- a/test/unittests/compiler/js-type-feedback-unittest.cc |
+++ b/test/unittests/compiler/js-type-feedback-unittest.cc |
@@ -77,15 +77,15 @@ class JSTypeFeedbackTest : public TypedGraphTest { |
Node* ReturnLoadNamedFromGlobal( |
const char* string, Node* effect, Node* control, |
JSTypeFeedbackSpecializer::DeoptimizationMode mode) { |
- VectorSlotPair feedback(Handle<TypeFeedbackVector>::null(), |
- FeedbackVectorICSlot::Invalid()); |
+ ResolvedFeedbackSlot feedback; |
Node* global = Parameter(Type::GlobalObject()); |
+ Node* vector = UndefinedConstant(); |
Node* context = UndefinedConstant(); |
Unique<Name> name = Unique<Name>::CreateUninitialized( |
isolate()->factory()->NewStringFromAsciiChecked(string)); |
const Operator* op = javascript()->LoadNamed(name, feedback); |
- Node* load = graph()->NewNode(op, global, context); |
+ Node* load = graph()->NewNode(op, global, vector, context); |
if (mode == JSTypeFeedbackSpecializer::kDeoptimizationEnabled) { |
for (int i = 0; i < OperatorProperties::GetFrameStateInputCount(op); |
i++) { |