| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index d2aa046e1f7e4a270691327ab352134e8d16b281..7125feced2d2b192823b2c55c0d26d71378bedb7 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -2121,7 +2121,7 @@
|
| // 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 = ObjectMarking::IsBlack(this)
|
| + WriteBarrierMode mode = Marking::IsBlack(ObjectMarking::MarkBitFrom(this))
|
| ? UPDATE_WRITE_BARRIER
|
| : UPDATE_WEAK_WRITE_BARRIER;
|
| CONDITIONAL_WRITE_BARRIER(GetHeap(), this, kValueOffset, val, mode);
|
|
|