@@ -526,13 +526,12 @@ visit_reachable(PyObject *op, void *arg)
526526 // Manually unlink gc from unreachable list because the list functions
527527 // don't work right in the presence of NEXT_MASK_UNREACHABLE flags.
528528 PyGC_Head * prev = GC_PREV (gc );
529- PyGC_Head * next = (PyGC_Head * )(gc -> _gc_next & ~NEXT_MASK_UNREACHABLE ); // MSN: GC_NEXT
529+ PyGC_Head * next = (PyGC_Head * )(gc -> _gc_next & ~NEXT_MASK_UNREACHABLE );
530530 _PyObject_ASSERT (FROM_GC (prev ),
531531 prev -> _gc_next & NEXT_MASK_UNREACHABLE );
532532 _PyObject_ASSERT (FROM_GC (next ),
533533 next -> _gc_next & NEXT_MASK_UNREACHABLE );
534534 prev -> _gc_next = gc -> _gc_next ; // copy NEXT_MASK_UNREACHABLE
535- // gc->_gc_next &= ~NEXT_MASK_UNREACHABLE; // MSN: needed only for incremental GC
536535 _PyGCHead_SET_PREV (next , prev );
537536
538537 gc_list_append (gc , reachable );
@@ -1155,7 +1154,7 @@ deduce_unreachable(PyGC_Head *base, PyGC_Head *unreachable) {
11551154 * the reachable objects instead. But this is a one-time cost, probably not
11561155 * worth complicating the code to speed just a little.
11571156 */
1158- gc_list_init (unreachable ); // MSN: was removed in 3.14+
1157+ gc_list_init (unreachable );
11591158 move_unreachable (base , unreachable ); // gc_prev is pointer again
11601159 validate_list (base , collecting_clear_unreachable_clear );
11611160 validate_list (unreachable , collecting_set_unreachable_set );
0 commit comments