Skip to content
  • Ömer Sinan Ağacan's avatar
    Rename some mutable closure types for consistency · 4075656e
    Ömer Sinan Ağacan authored
    SMALL_MUT_ARR_PTRS_FROZEN0 -> SMALL_MUT_ARR_PTRS_FROZEN_DIRTY
    SMALL_MUT_ARR_PTRS_FROZEN  -> SMALL_MUT_ARR_PTRS_FROZEN_CLEAN
    MUT_ARR_PTRS_FROZEN0       -> MUT_ARR_PTRS_FROZEN_DIRTY
    MUT_ARR_PTRS_FROZEN        -> MUT_ARR_PTRS_FROZEN_CLEAN
    
    Naming is now consistent with other CLEAR/DIRTY objects (MVAR, MUT_VAR,
    MUT_ARR_PTRS).
    
    (alternatively we could rename MVAR_DIRTY/MVAR_CLEAN etc. to MVAR0/MVAR)
    
    Removed a few comments in Scav.c about FROZEN0 being on the mut_list
    because it's now clear from the closure type.
    
    Reviewers: bgamari, simonmar, erikd
    
    Reviewed By: simonmar
    
    Subscribers: rwbarton, thomie, carter
    
    Differential Revision: https://phabricator.haskell.org/D4784
    4075656e