Index: test/cctest/test-unboxed-doubles.cc |
diff --git a/test/cctest/test-unboxed-doubles.cc b/test/cctest/test-unboxed-doubles.cc |
index b4110eb8449d30a919662572a388115cd95926af..a81fdfccd6dd5fd8131358f2eb9feefedd031b6c 100644 |
--- a/test/cctest/test-unboxed-doubles.cc |
+++ b/test/cctest/test-unboxed-doubles.cc |
@@ -1172,7 +1172,7 @@ TEST(DoScavengeWithIncrementalWriteBarrier) { |
// in compacting mode and |obj_value|'s page is an evacuation candidate). |
IncrementalMarking* marking = heap->incremental_marking(); |
CHECK(marking->IsCompacting()); |
- CHECK(Marking::IsBlack(ObjectMarking::MarkBitFrom(*obj))); |
+ CHECK(ObjectMarking::IsBlack(*obj, MarkingState::Internal(*obj))); |
CHECK(MarkCompactCollector::IsOnEvacuationCandidate(*obj_value)); |
// Trigger GCs so that |obj| moves to old gen. |
@@ -1492,8 +1492,8 @@ static void TestIncrementalWriteBarrier(Handle<Map> map, Handle<Map> new_map, |
// still active and |obj_value|'s page is indeed an evacuation candidate). |
IncrementalMarking* marking = heap->incremental_marking(); |
CHECK(marking->IsMarking()); |
- CHECK(Marking::IsBlack(ObjectMarking::MarkBitFrom(*obj))); |
- CHECK(Marking::IsBlack(ObjectMarking::MarkBitFrom(*obj_value))); |
+ CHECK(ObjectMarking::IsBlack(*obj, MarkingState::Internal(*obj))); |
+ CHECK(ObjectMarking::IsBlack(*obj_value, MarkingState::Internal(*obj_value))); |
CHECK(MarkCompactCollector::IsOnEvacuationCandidate(*obj_value)); |
// Trigger incremental write barrier, which should add a slot to remembered |