| Index: test/cctest/heap/test-heap.cc
|
| diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc
|
| index 5a1b39f2240abc1a3ff630667a44a785157bebe6..60dc1dde2b3247c3d327bcc07a8eed2d87e4484b 100644
|
| --- a/test/cctest/heap/test-heap.cc
|
| +++ b/test/cctest/heap/test-heap.cc
|
| @@ -3776,11 +3776,11 @@ static void CheckVectorIC(Handle<JSFunction> f, int slot_index,
|
| Handle<TypeFeedbackVector>(f->feedback_vector());
|
| FeedbackVectorHelper helper(vector);
|
| FeedbackVectorSlot slot = helper.slot(slot_index);
|
| - if (vector->GetKind(slot) == FeedbackVectorSlotKind::LOAD_IC) {
|
| + if (vector->IsLoadIC(slot)) {
|
| LoadICNexus nexus(vector, slot);
|
| CHECK(nexus.StateFromFeedback() == desired_state);
|
| } else {
|
| - CHECK_EQ(FeedbackVectorSlotKind::KEYED_LOAD_IC, vector->GetKind(slot));
|
| + CHECK(vector->IsKeyedLoadIC(slot));
|
| KeyedLoadICNexus nexus(vector, slot);
|
| CHECK(nexus.StateFromFeedback() == desired_state);
|
| }
|
|
|