]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/item.cc
(protect_smob): experiment: O(1) GC (un)protection.
[lilypond.git] / lily / item.cc
index 922faf0abd2041d62a85fcfc707eda5ed990d91f..7e36b762d9f13a384e84dfd03333425f82d0d33d 100644 (file)
@@ -159,14 +159,13 @@ Item::handle_prebroken_dependencies ()
     }
 }
 
-SCM
-Item::do_derived_mark () const
+void
+Item::derived_mark () const
 {
   if (broken_to_drul_[LEFT])
     scm_gc_mark (broken_to_drul_[LEFT]->self_scm ());
   if (broken_to_drul_[RIGHT])
     scm_gc_mark (broken_to_drul_[RIGHT]->self_scm ());
-  return SCM_EOL;
 }
 
 Item *