diff options
author | Ian Lynagh <igloo@earth.li> | 2011-10-23 23:07:17 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-10-23 23:07:17 +0100 |
commit | 50b33e329b3537a28e152ff71417d976443bd7b7 (patch) | |
tree | e351f2999791a6ab2bcb3715d82751a75e09e554 /compiler/nativeGen/RegAlloc/Linear/FreeRegs.hs | |
parent | 86f65fdded19519437846304033d5844393dccf5 (diff) | |
download | haskell-50b33e329b3537a28e152ff71417d976443bd7b7.tar.gz |
Eliminate all uses of IF_ARCH_i386, and remove the definition
Diffstat (limited to 'compiler/nativeGen/RegAlloc/Linear/FreeRegs.hs')
-rw-r--r-- | compiler/nativeGen/RegAlloc/Linear/FreeRegs.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/nativeGen/RegAlloc/Linear/FreeRegs.hs b/compiler/nativeGen/RegAlloc/Linear/FreeRegs.hs index 455bac7ecf..6d17a4f077 100644 --- a/compiler/nativeGen/RegAlloc/Linear/FreeRegs.hs +++ b/compiler/nativeGen/RegAlloc/Linear/FreeRegs.hs @@ -61,8 +61,8 @@ instance FR SPARC.FreeRegs where maxSpillSlots :: Platform -> Int maxSpillSlots platform = case platformArch platform of - ArchX86 -> X86.Instr.maxSpillSlots - ArchX86_64 -> X86.Instr.maxSpillSlots + ArchX86 -> X86.Instr.maxSpillSlots True -- 32bit + ArchX86_64 -> X86.Instr.maxSpillSlots False -- not 32bit ArchPPC -> PPC.Instr.maxSpillSlots ArchSPARC -> SPARC.Instr.maxSpillSlots ArchARM _ _ -> panic "maxSpillSlots ArchARM" |