summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/RegAlloc/Linear/FreeRegs.hs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-10-19 01:58:17 +0100
committerIan Lynagh <igloo@earth.li>2011-10-19 01:58:17 +0100
commit5ab74eb767e42a897f16b5872cac9e3462612ee7 (patch)
tree4ee881272f86bf58ed5c66e06e3e30f7f6dec6c0 /compiler/nativeGen/RegAlloc/Linear/FreeRegs.hs
parent2dea11a442e1d14d86fa661804de06a721943bf0 (diff)
downloadhaskell-5ab74eb767e42a897f16b5872cac9e3462612ee7.tar.gz
Revert "Remove ArchUnknown"
This reverts commit 2dea11a442e1d14d86fa661804de06a721943bf0. On second thoughts, this does make sense, for unregisterised via-C arches at least.
Diffstat (limited to 'compiler/nativeGen/RegAlloc/Linear/FreeRegs.hs')
-rw-r--r--compiler/nativeGen/RegAlloc/Linear/FreeRegs.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/nativeGen/RegAlloc/Linear/FreeRegs.hs b/compiler/nativeGen/RegAlloc/Linear/FreeRegs.hs
index 22fc388d0d..809e185d9b 100644
--- a/compiler/nativeGen/RegAlloc/Linear/FreeRegs.hs
+++ b/compiler/nativeGen/RegAlloc/Linear/FreeRegs.hs
@@ -67,4 +67,5 @@ maxSpillSlots platform
ArchSPARC -> SPARC.Instr.maxSpillSlots
ArchARM _ _ -> panic "maxSpillSlots ArchARM"
ArchPPC_64 -> panic "maxSpillSlots ArchPPC_64"
+ ArchUnknown -> panic "maxSpillSlots ArchUnknown"