projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50ba919
)
[project @ 2005-12-21 11:43:29 by simonpj]
author
simonpj
<unknown>
Wed, 21 Dec 2005 11:43:29 +0000
(11:43 +0000)
committer
simonpj
<unknown>
Wed, 21 Dec 2005 11:43:29 +0000
(11:43 +0000)
Missing Show instance for FreeRegs on PowerPC
ghc/compiler/nativeGen/RegisterAlloc.hs
patch
|
blob
|
history
diff --git
a/ghc/compiler/nativeGen/RegisterAlloc.hs
b/ghc/compiler/nativeGen/RegisterAlloc.hs
index
a82c9fb
..
8040602
100644
(file)
--- a/
ghc/compiler/nativeGen/RegisterAlloc.hs
+++ b/
ghc/compiler/nativeGen/RegisterAlloc.hs
@@
-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