Define cTargetArch and start to use it rather than ifdefs
authorIan Lynagh <igloo@earth.li>
Tue, 4 Jan 2011 22:00:13 +0000 (22:00 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 4 Jan 2011 22:00:13 +0000 (22:00 +0000)
commitf0e3d7904df76f35676e105ed63e7b4eb961773a
tree7daaa320da46a3be56448b5b4096bbafb082231a
parentdaee7323b13a3f35cead6b94092adbcdfdcad568
Define cTargetArch and start to use it rather than ifdefs
Using Haskell conditionals means the compiler sees all the code, so
there should be less rot of code specific to uncommon arches. Code
for other platforms should still be optimised away, although if we want
to support targetting other arches then we'll need to compile it
for-real anyway.
compiler/ghc.mk
compiler/nativeGen/AsmCodeGen.lhs
configure.ac