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:
b2f23f8
)
[project @ 2000-04-10 14:05:57 by simonmar]
author
simonmar
<unknown>
Mon, 10 Apr 2000 14:05:57 +0000
(14:05 +0000)
committer
simonmar
<unknown>
Mon, 10 Apr 2000 14:05:57 +0000
(14:05 +0000)
Text => Show
ghc/compiler/nativeGen/MachRegs.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/nativeGen/MachRegs.lhs
b/ghc/compiler/nativeGen/MachRegs.lhs
index
aabe13e
..
bd72d6b
100644
(file)
--- a/
ghc/compiler/nativeGen/MachRegs.lhs
+++ b/
ghc/compiler/nativeGen/MachRegs.lhs
@@
-276,7
+276,7
@@
getNewRegNCG pk
= getUniqueNat `thenNat` \ u ->
returnNat (UnmappedReg u pk)
-instance Text Reg where
+instance Show Reg where
showsPrec _ (FixedReg i) = showString "%" . shows IBOX(i)
showsPrec _ (MappedReg i) = showString "%" . shows IBOX(i)
showsPrec _ (MemoryReg i _) = showString "%M" . shows i