Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index f8757e1c0cf97899902a0df831205d00bdd15af0..e924646ea95998dacb223bf977e5fb003bbc21c4 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -2866,8 +2866,10 @@ TEST(IncrementalMarkingClearsTypeFeedbackInfo) { |
CcTest::heap()->CollectAllGarbage(Heap::kNoGCFlags); |
CHECK_EQ(2, feedback_vector->length()); |
- CHECK(feedback_vector->get(0)->IsTheHole()); |
- CHECK(feedback_vector->get(1)->IsTheHole()); |
+ CHECK_EQ(feedback_vector->get(0), |
+ *TypeFeedbackInfo::UninitializedSentinel(CcTest::i_isolate())); |
+ CHECK_EQ(feedback_vector->get(1), |
+ *TypeFeedbackInfo::UninitializedSentinel(CcTest::i_isolate())); |
} |