[commit: ghc] master: Define callerSaves for all platforms (46b5c19)
Ian Lynagh
igloo at earth.li
Tue Aug 7 16:04:01 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/46b5c197f9f2c8ed012251289400fbc7189b1acb
>---------------------------------------------------------------
commit 46b5c197f9f2c8ed012251289400fbc7189b1acb
Author: Ian Lynagh <ian at well-typed.com>
Date: Tue Aug 7 02:37:46 2012 +0100
Define callerSaves for all platforms
This means that we now generate the same code whatever platform we are
on, which should help avoid changes on one platform breaking the build
on another.
It's also another step towards full cross-compilation.
compiler/cmm/CmmLayoutStack.hs | 2 +-
compiler/cmm/CmmPipeline.hs | 2 +-
compiler/cmm/CmmRewriteAssignments.hs | 29 +++++----
compiler/cmm/CmmSink.hs | 66 +++++++++++----------
compiler/codeGen/CallerSaves.hs | 51 ++++++++++++++++
compiler/codeGen/CgForeignCall.hs | 6 +-
compiler/codeGen/CgUtils.hs | 98 +++---------------------------
compiler/codeGen/StgCmmForeign.hs | 3 +-
compiler/codeGen/StgCmmUtils.hs | 97 +++---------------------------
compiler/ghc.cabal.in | 1 +
compiler/llvmGen/LlvmCodeGen/CodeGen.hs | 10 ++--
includes/CallerSaves.part.hs | 81 +++++++++++++++++++++++++
12 files changed, 217 insertions(+), 229 deletions(-)
Diff suppressed because of size. To see it, use:
git show 46b5c197f9f2c8ed012251289400fbc7189b1acb
More information about the Cvs-ghc
mailing list