• Sylvain Henry's avatar
    Refactor CLabel pretty-printing · 667d6355
    Sylvain Henry authored
    * Don't depend on the selected backend to know if we print Asm or C
      labels: we already have PprStyle to determine this. Moreover even when
      a native backend is used (NCG, LLVM) we may want to C headers
      containing pretty-printed labels, so it wasn't a good predicate
    * Make pretty-printing code clearer and avoid partiality
Code owners : Ömer Sinan Ağacan and Simon Marlow
CLabel.hs 62.4 KB