Remove ArchUnknown
authorIan Lynagh <igloo@earth.li>
Tue, 18 Oct 2011 18:01:27 +0000 (19:01 +0100)
committerIan Lynagh <igloo@earth.li>
Tue, 18 Oct 2011 18:01:27 +0000 (19:01 +0100)
commit2dea11a442e1d14d86fa661804de06a721943bf0
tree954ab91bab33a309e0b7fe2abd288e0edc65d2b0
parentf75f26cc4eed3c3cfc256ebfb9e77b8e82a766fc
Remove ArchUnknown

It doesn't make sense. If platformArch is ArchUnknown then we don't know
the answer to any questions about the arch. So now if we don't recognise
the arch we just fail, and the new arch will need to be added to the
datatype.
compiler/nativeGen/AsmCodeGen.lhs
compiler/nativeGen/RegAlloc/Graph/TrivColorable.hs
compiler/nativeGen/RegAlloc/Linear/FreeRegs.hs
compiler/nativeGen/RegAlloc/Linear/Main.hs
compiler/nativeGen/TargetReg.hs
compiler/nativeGen/X86/RegInfo.hs
compiler/utils/Platform.hs