| Index: src/heap/objects-visiting-inl.h
|
| diff --git a/src/heap/objects-visiting-inl.h b/src/heap/objects-visiting-inl.h
|
| index 08e9092cb857674e85cb09d4b18503b0ede15296..cc75234ae8146609a8019c8c8ee8ea80c1f90e57 100644
|
| --- a/src/heap/objects-visiting-inl.h
|
| +++ b/src/heap/objects-visiting-inl.h
|
| @@ -304,13 +304,6 @@ void StaticMarkingVisitor<StaticVisitor>::VisitNativeContext(
|
| Map* map, HeapObject* object) {
|
| FixedBodyVisitor<StaticVisitor, Context::MarkCompactBodyDescriptor,
|
| void>::Visit(map, object);
|
| -
|
| - MarkCompactCollector* collector = map->GetHeap()->mark_compact_collector();
|
| - for (int idx = Context::FIRST_WEAK_SLOT; idx < Context::NATIVE_CONTEXT_SLOTS;
|
| - ++idx) {
|
| - Object** slot = Context::cast(object)->RawFieldOfElementAt(idx);
|
| - collector->RecordSlot(object, slot, *slot);
|
| - }
|
| }
|
|
|
|
|
|
|