Permalink
Commits on Sep 14, 2012
  1. Move wORD_SIZE_IN_BITS to DynFlags

    igfoo committed Sep 14, 2012
    This frees wORD_SIZE up to be moved out of HaskellConstants
  2. Remove more Platform arguments

    igfoo committed Sep 14, 2012
  3. Remove more Platform arguments

    igfoo committed Sep 14, 2012
  4. Put DynFlags into the RegM monad

    igfoo committed Sep 14, 2012
    Also moved the type definition into RegAlloc.Linear.State to de-orphan
    the Monad instance.
  5. More OS X build fixes

    igfoo committed Sep 14, 2012
  6. Fix build on OS X

    igfoo committed Sep 14, 2012
Commits on Sep 13, 2012
  1. Use intptr_t for offset values in mkDerivedConstants

    igfoo committed Sep 13, 2012
    This means that we get e.g.
        pc_OFFSET_stgEagerBlackholeInfo = -24
    rather than
        pc_OFFSET_stgEagerBlackholeInfo = 18446744073709551592
  2. Remove the --gen-haskell mode of mkDerivedConstants

    igfoo committed Sep 13, 2012
    It no longer generates anything
  3. Add a couple more mkDerivedConstants modes

    igfoo committed Sep 13, 2012
    We now also generate nice wrappers for the platformConstants
    methods. For now it's all commented out as the definitions
    conflict with those in Constants.
  4. Make the Windows-specific part of mkDerivedConstants.c conditional

    igfoo committed Sep 13, 2012
    It is only generated when mode is Gen_Header; i.e. it's not used
    in the compiler, only the RTS.
  5. Add more modes to mkDerivedConstants

    igfoo committed Sep 13, 2012
    We now generate a platformConstants file that we can read at runtime.
Commits on Sep 12, 2012
  1. Use conditionals rather than CPP in mkDerivedConstants

    igfoo committed Sep 12, 2012
    This means we only need to build one copy of the program, which
    will make life simpler as I plan to add more variants.
  2. Pass DynFlags down to wordWidth

    igfoo committed Sep 12, 2012
  3. Pass DynFlags down to gcWord

    igfoo committed Sep 12, 2012
  4. Pass DynFlags down to bWord

    igfoo committed Sep 12, 2012
    I've switched to passing DynFlags rather than Platform, as (a) it's
    simpler to not have to extract targetPlatform in so many places, and
    (b) it may be useful to have DynFlags around in future.
Commits on Sep 11, 2012
  1. Whitespace only in cmm/CmmUtils.hs

    igfoo committed Sep 11, 2012
  2. Whitespace only in cmm/CmmExpr.hs

    igfoo committed Sep 11, 2012
Commits on Sep 10, 2012
  1. Pass Platform down to halfWordMask

    igfoo committed Sep 10, 2012
  2. Pass Platform down to halfWordWidth

    igfoo committed Sep 10, 2012
    We don't actually use it yet