Skip to content
  • Simon Peyton Jones's avatar
    Fix Trac #4874: specialisation of INLINABLE things · 66dfd5c5
    Simon Peyton Jones authored
    Johan discovered that when INLINABLE things are specialised
    bad things can happen. This patch implements a hack -- but
    it's a simple hack and it solves the problem.
    
    See Note [Inline specialisations]. 
    
    The hack part is that really INLINABLE should not cause *any* loss
    optimisation, and it does; see Note [Don't w/w INLINABLE things] in
    WorkWrap.
    66dfd5c5