Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 8d7666910e833cc27884617fef17fbb15f483600..e70efeaa7660f1573bd626150bca4d474fcd9956 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -3809,11 +3809,11 @@ static void CheckVectorIC(Handle<JSFunction> f, int ic_slot_index, |
Handle<TypeFeedbackVector> vector = |
Handle<TypeFeedbackVector>(f->shared()->feedback_vector()); |
FeedbackVectorICSlot slot(ic_slot_index); |
- if (vector->GetKind(slot) == Code::LOAD_IC) { |
+ if (vector->GetKind(slot) == FeedbackVectorSlotKind::LOAD_IC) { |
LoadICNexus nexus(vector, slot); |
CHECK(nexus.StateFromFeedback() == desired_state); |
} else { |
- CHECK(vector->GetKind(slot) == Code::KEYED_LOAD_IC); |
+ CHECK_EQ(FeedbackVectorSlotKind::KEYED_LOAD_IC, vector->GetKind(slot)); |
KeyedLoadICNexus nexus(vector, slot); |
CHECK(nexus.StateFromFeedback() == desired_state); |
} |