[commit: ghc] master: Remove most of the CPP from AsmCodeGen (622c3cf)
Ian Lynagh
igloo at earth.li
Sun May 29 21:27:46 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/622c3cfe2b3ebde891981544c0eea525eaa55e6f
>---------------------------------------------------------------
commit 622c3cfe2b3ebde891981544c0eea525eaa55e6f
Author: Ian Lynagh <igloo at earth.li>
Date: Sun May 29 19:06:28 2011 +0100
Remove most of the CPP from AsmCodeGen
In particular, the "#error" for platforms without a NCG is gone,
which means the module should now build on all platforms again.
I'm not sure if this is the nicest way to handle multiple platforms
here, but it works for now.
compiler/nativeGen/AsmCodeGen.lhs | 276 ++++++++++++++++++------------
compiler/nativeGen/PPC/RegInfo.hs | 6 +-
compiler/nativeGen/SPARC/ShortcutJump.hs | 6 +-
compiler/nativeGen/X86/Instr.hs | 3 +
4 files changed, 179 insertions(+), 112 deletions(-)
Diff suppressed because of size. To see it, use:
git show 622c3cfe2b3ebde891981544c0eea525eaa55e6f
More information about the Cvs-ghc
mailing list