summaryrefslogtreecommitdiff
path: root/compiler/GHC/Platform/Reg.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Platform/Reg.hs')
-rw-r--r--compiler/GHC/Platform/Reg.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Platform/Reg.hs b/compiler/GHC/Platform/Reg.hs
index c011a59eb0..5edd39df51 100644
--- a/compiler/GHC/Platform/Reg.hs
+++ b/compiler/GHC/Platform/Reg.hs
@@ -181,7 +181,7 @@ realRegsAlias rr1 rr2
data Reg
= RegVirtual !VirtualReg
| RegReal !RealReg
- deriving (Eq, Ord)
+ deriving (Eq, Ord, Show)
regSingle :: RegNo -> Reg
regSingle regNo = RegReal (realRegSingle regNo)