Remove most of the CPP from AsmCodeGen
authorIan Lynagh <igloo@earth.li>
Sun, 29 May 2011 18:06:28 +0000 (19:06 +0100)
committerIan Lynagh <igloo@earth.li>
Sun, 29 May 2011 18:16:37 +0000 (19:16 +0100)
commit622c3cfe2b3ebde891981544c0eea525eaa55e6f
treee1a2a42907b241dca3911d9e41b63a43d9a08004
parent94d7c806e2b0f1640372142a89cac2e974f5c26b
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
compiler/nativeGen/PPC/RegInfo.hs
compiler/nativeGen/SPARC/ShortcutJump.hs
compiler/nativeGen/X86/Instr.hs