Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index f2971be5764cf71df3e2c3974b76300e5e27e0c5..9f4ad469e515c99eb0f81d43c00ae090b93de76a 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -2822,7 +2822,7 @@ TEST(IncrementalMarkingClearsMonomorhpicIC) { |
CcTest::heap()->CollectAllGarbage(Heap::kNoGCFlags); |
Code* ic_after = FindFirstIC(f->shared()->code(), Code::LOAD_IC); |
- CHECK(ic_after->ic_state() == UNINITIALIZED); |
+ CHECK(IC::IsCleared(ic_after)); |
} |
@@ -2863,7 +2863,7 @@ TEST(IncrementalMarkingClearsPolymorhpicIC) { |
CcTest::heap()->CollectAllGarbage(Heap::kNoGCFlags); |
Code* ic_after = FindFirstIC(f->shared()->code(), Code::LOAD_IC); |
- CHECK(ic_after->ic_state() == UNINITIALIZED); |
+ CHECK(IC::IsCleared(ic_after)); |
} |