[project @ 2000-04-10 14:05:57 by simonmar]
authorsimonmar <unknown>
Mon, 10 Apr 2000 14:05:57 +0000 (14:05 +0000)
committersimonmar <unknown>
Mon, 10 Apr 2000 14:05:57 +0000 (14:05 +0000)
Text => Show

ghc/compiler/nativeGen/MachRegs.lhs

index aabe13e..bd72d6b 100644 (file)
@@ -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