| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index bf51b3640b04e31d3af7e7d452cc1034f93bf6ac..4a438bb106a643bfb405d63e5b039cedd644652c 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -2111,7 +2111,7 @@ void WeakCell::initialize(HeapObject* val) {
|
| // We just have to execute the generational barrier here because we never
|
| // mark through a weak cell and collect evacuation candidates when we process
|
| // all weak cells.
|
| - WriteBarrierMode mode = Marking::IsBlack(ObjectMarking::MarkBitFrom(this))
|
| + WriteBarrierMode mode = ObjectMarking::IsBlack(this)
|
| ? UPDATE_WRITE_BARRIER
|
| : UPDATE_WEAK_WRITE_BARRIER;
|
| CONDITIONAL_WRITE_BARRIER(GetHeap(), this, kValueOffset, val, mode);
|
|
|