Skip to content
  • Simon Peyton Jones's avatar
    Fix join-point decision · 20afdaa7
    Simon Peyton Jones authored
    This patch moves the "ok_unfolding" test
       from  CoreOpt.joinPointBinding_maybe
       to    OccurAnal.decideJoinPointHood
    
    Previously the occurrence analyser was deciding to make
    something a join point, but the simplifier was reversing
    that decision, which made the decision about /other/ bindings
    invalid.
    
    Fixes Trac #14650.
    
    (cherry picked from commit 66ff794f)
    20afdaa7