Skip to content
  • Daniel Gröber (dxld)'s avatar
    rts: RetainerSet: Remove obsolete fist/second-approach choice · f3bb7397
    Daniel Gröber (dxld) authored
    In the old code when DEBUG_RETAINER was set, FIRST_APPROACH is
    implied. However ProfHeap.c now depends on printRetainerSetShort which is
    only available with SECOND_APPROACH. This is because with FIRST_APPROACH
    retainerProfile() will free all retainer sets before returning so by the
    time ProfHeap calls dumpCensus the retainer set pointers are segfaulty.
    
    Since all of this debugging code obviously hasn't been compiled in ages
    anyways I'm taking the liberty of just removing it.
    
    Remember guys: Dead code is a liability not an asset :)
    f3bb7397