diff options
author | Ian Lynagh <igloo@earth.li> | 2011-10-18 19:01:27 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-10-18 19:01:27 +0100 |
commit | 2dea11a442e1d14d86fa661804de06a721943bf0 (patch) | |
tree | 954ab91bab33a309e0b7fe2abd288e0edc65d2b0 /compiler/nativeGen/X86/RegInfo.hs | |
parent | f75f26cc4eed3c3cfc256ebfb9e77b8e82a766fc (diff) | |
download | haskell-2dea11a442e1d14d86fa661804de06a721943bf0.tar.gz |
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.
Diffstat (limited to 'compiler/nativeGen/X86/RegInfo.hs')
-rw-r--r-- | compiler/nativeGen/X86/RegInfo.hs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/nativeGen/X86/RegInfo.hs b/compiler/nativeGen/X86/RegInfo.hs index 36b749ffda..8f41e8e052 100644 --- a/compiler/nativeGen/X86/RegInfo.hs +++ b/compiler/nativeGen/X86/RegInfo.hs @@ -59,7 +59,6 @@ normalRegColors platform ArchPPC_64 -> panic "X86 normalRegColors ArchPPC_64" ArchSPARC -> panic "X86 normalRegColors ArchSPARC" ArchARM _ _ -> panic "X86 normalRegColors ArchARM" - ArchUnknown -> panic "X86 normalRegColors ArchUnknown" fpRegColors :: [(Reg,String)] fpRegColors = |