Skip to content
  • Daniel Gröber (dxld)'s avatar
    Cleanup OVERWRITING_CLOSURE logic · 2ee4f36c
    Daniel Gröber (dxld) authored and Marge Bot's avatar Marge Bot committed
    The code is just more confusing than it needs to be. We don't need to mix
    the threaded check with the ldv profiling check since ldv's init already
    checks for this. Hence they can be two separate checks. Taking the sanity
    checking into account is also cleaner via DebugFlags.sanity. No need for
    checking the DEBUG define.
    
    The ZERO_SLOP_FOR_LDV_PROF and ZERO_SLOP_FOR_SANITY_CHECK definitions the
    old code had also make things a lot more opaque IMO so I removed those.
    2ee4f36c