Skip to content
  • Simon Peyton Jones's avatar
    Comment out deeply suspicious (and unused) function insertStableSymbol · 6ef2fc2e
    Simon Peyton Jones authored
    The function insertStableSymbol looks utterly wrong, because it
    coerces a value of type 'a' to an Addr#!  That was in turn making the
    code generator get confused (now improved), but since insertStableSymbol
    isn't used at all, I'm just commenting it out.
    
    Meanwhile, this patch also enhances CoreToStg to report the most egregious
    cases where an unsafe coerce is going to confuse the code generator.
    6ef2fc2e