Index: src/mark-compact.cc |
diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
index 346b9a1c0d8986bb701255f0babbbaa93466bb82..0f6a5663fbdc5a683987f9c92d306b2609286aa7 100644 |
--- a/src/mark-compact.cc |
+++ b/src/mark-compact.cc |
@@ -1525,12 +1525,6 @@ class StaticMarkingVisitor : public StaticVisitorBase { |
JSFunction::kCodeEntryOffset + kPointerSize), |
HeapObject::RawField(object, |
JSFunction::kNonWeakFieldsEndOffset)); |
- |
- // Don't visit the next function list field as it is a weak reference. |
- Object** next_function = |
- HeapObject::RawField(object, JSFunction::kNextFunctionLinkOffset); |
- heap->mark_compact_collector()->RecordSlot( |
- next_function, next_function, *next_function); |
} |
static inline void VisitJSRegExpFields(Map* map, |