Represent the free register set using Word64 on x86-64 (fixes ffi009)
[ghc-hetmet.git] / compiler / nativeGen / RegAlloc / Linear / X86 / FreeRegs.hs
index 4ba637f..0a15e56 100644 (file)
@@ -12,7 +12,11 @@ import Data.Word
 import Data.Bits
 
 type FreeRegs 
+#ifdef i386_TARGET_ARCH
        = Word32
+#else
+       = Word64
+#endif
 
 noFreeRegs :: FreeRegs
 noFreeRegs = 0