diff options
-rw-r--r-- | compiler/GHC/Platform/Reg.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Platform/Reg.hs b/compiler/GHC/Platform/Reg.hs index 8b4757744b..3b160f467e 100644 --- a/compiler/GHC/Platform/Reg.hs +++ b/compiler/GHC/Platform/Reg.hs @@ -142,8 +142,8 @@ getHiVRegFromLo reg -- the usual way. We know what class they are, because that's part of -- the processor's architecture. -- -data RealReg - = RealRegSingle {-# UNPACK #-} !RegNo +newtype RealReg + = RealRegSingle RegNo deriving (Eq, Show, Ord) instance Uniquable RealReg where |