| Index: test/cctest/heap/test-heap.cc
|
| diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc
|
| index b044cfed009e25c3f26c3f8414bd3ceb4edde91e..9851512f7321c7583800b7962694edd83d5945a2 100644
|
| --- a/test/cctest/heap/test-heap.cc
|
| +++ b/test/cctest/heap/test-heap.cc
|
| @@ -6680,7 +6680,7 @@ TEST(ContinuousRightTrimFixedArrayInBlackArea) {
|
| heap->RightTrimFixedArray(*array, 1);
|
| HeapObject* filler = HeapObject::FromAddress(previous);
|
| CHECK(filler->IsFiller());
|
| - CHECK(Marking::IsImpossible(ObjectMarking::MarkBitFrom(previous)));
|
| + CHECK(Marking::IsImpossible(ObjectMarking::MarkBitFrom(filler)));
|
|
|
| // Trim 10 times by one, two, and three word.
|
| for (int i = 1; i <= 3; i++) {
|
| @@ -6689,7 +6689,7 @@ TEST(ContinuousRightTrimFixedArrayInBlackArea) {
|
| heap->RightTrimFixedArray(*array, i);
|
| HeapObject* filler = HeapObject::FromAddress(previous);
|
| CHECK(filler->IsFiller());
|
| - CHECK(Marking::IsWhite(ObjectMarking::MarkBitFrom(previous)));
|
| + CHECK(Marking::IsWhite(ObjectMarking::MarkBitFrom(filler)));
|
| }
|
| }
|
|
|
|
|