| Index: src/heap/mark-compact.cc
|
| diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc
|
| index affe13d873e0f403895ce4f39647e64a622b5035..68c3ef7b11a68f5a77d11ebc748446944a04a7f0 100644
|
| --- a/src/heap/mark-compact.cc
|
| +++ b/src/heap/mark-compact.cc
|
| @@ -1335,12 +1335,6 @@ void MarkCompactCollector::PrepareForCodeFlushing() {
|
| // If code flushing is disabled, there is no need to prepare for it.
|
| if (!is_code_flushing_enabled()) return;
|
|
|
| - // Ensure that empty descriptor array is marked. Method MarkDescriptorArray
|
| - // relies on it being marked before any other descriptor array.
|
| - HeapObject* descriptor_array = heap()->empty_descriptor_array();
|
| - MarkBit descriptor_array_mark = Marking::MarkBitFrom(descriptor_array);
|
| - MarkObject(descriptor_array, descriptor_array_mark);
|
| -
|
| // Make sure we are not referencing the code from the stack.
|
| DCHECK(this == heap()->mark_compact_collector());
|
| PrepareThreadForCodeFlushing(heap()->isolate(),
|
|
|