1. 13 Nov, 2012 5 commits
  2. 12 Nov, 2012 6 commits
    • ian@well-typed.com's avatar
      Add some more flags to includes_CC_OPTS · 0564a635
      ian@well-typed.com authored
      Fixes build on OS X
    • ian@well-typed.com's avatar
      Replace mkDerivedConstants.c with DeriveConstants.hs · f49271c0
      ian@well-typed.com authored
      DeriveConstants.hs works in a cross-compilation-friendly way. Rather
      than running a C program that prints out the constants, we just compile
      a C file which has the constants are encoded in symbol sizes. We then
      parse the output of 'nm' to find out what the constants are.
      Based on work by Gabor Greif <ggreif@gmail.com>.
    • Simon Marlow's avatar
    • Simon Marlow's avatar
      replaceLabels: null out the cml_cont field of CmmCall · 4dc7d04e
      Simon Marlow authored
      This fixes a CmmLint complaint when doing proc-point splitting.
    • Simon Marlow's avatar
      Fix warnings · 92957808
      Simon Marlow authored
    • Simon Marlow's avatar
      Remove OldCmm, convert backends to consume new Cmm · d92bd17f
      Simon Marlow authored
      This removes the OldCmm data type and the CmmCvt pass that converts
      new Cmm to OldCmm.  The backends (NCGs, LLVM and C) have all been
      converted to consume new Cmm.
      The main difference between the two data types is that conditional
      branches in new Cmm have both true/false successors, whereas in OldCmm
      the false case was a fallthrough.  To generate slightly better code we
      occasionally need to invert a conditional to ensure that the
      branch-not-taken becomes a fallthrough; this was previously done in
      CmmCvt, and it is now done in CmmContFlowOpt.
      We could go further and use the Hoopl Block representation for native
      code, which would mean that we could use Hoopl's postorderDfs and
      analyses for native code, but for now I've left it as is, using the
      old ListGraph representation for native code.
  3. 10 Nov, 2012 3 commits
  4. 08 Nov, 2012 6 commits
  5. 07 Nov, 2012 2 commits
  6. 06 Nov, 2012 6 commits
  7. 05 Nov, 2012 5 commits
  8. 02 Nov, 2012 7 commits