Index: test/cctest/test-unboxed-doubles.cc |
diff --git a/test/cctest/test-unboxed-doubles.cc b/test/cctest/test-unboxed-doubles.cc |
index c8a8bbb37505595671118d8c0328a2b865400c99..6a1d87015bc0996af217b803beae47f63563084c 100644 |
--- a/test/cctest/test-unboxed-doubles.cc |
+++ b/test/cctest/test-unboxed-doubles.cc |
@@ -1151,7 +1151,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(Marking::MarkBitFrom(*obj))); |
+ CHECK(Marking::IsBlack(ObjectMarking::MarkBitFrom(*obj))); |
CHECK(MarkCompactCollector::IsOnEvacuationCandidate(*obj_value)); |
// Trigger GCs so that |obj| moves to old gen. |
@@ -1467,8 +1467,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(Marking::MarkBitFrom(*obj))); |
- CHECK(Marking::IsBlack(Marking::MarkBitFrom(*obj_value))); |
+ CHECK(Marking::IsBlack(ObjectMarking::MarkBitFrom(*obj))); |
+ CHECK(Marking::IsBlack(ObjectMarking::MarkBitFrom(*obj_value))); |
CHECK(MarkCompactCollector::IsOnEvacuationCandidate(*obj_value)); |
// Trigger incremental write barrier, which should add a slot to remembered |