[project @ 2005-12-21 11:43:29 by simonpj]
authorsimonpj <unknown>
Wed, 21 Dec 2005 11:43:29 +0000 (11:43 +0000)
committersimonpj <unknown>
Wed, 21 Dec 2005 11:43:29 +0000 (11:43 +0000)
Missing Show instance for FreeRegs on PowerPC

ghc/compiler/nativeGen/RegisterAlloc.hs

index a82c9fb..8040602 100644 (file)
@@ -156,6 +156,7 @@ allocateReg f r = filter (/= r) f
 -- 32-bit words).
 
 data FreeRegs = FreeRegs !Word32 !Word32
+             deriving( Show )  -- The Show is used in an ASSERT
 
 noFreeRegs :: FreeRegs
 noFreeRegs = FreeRegs 0 0