Remove useless UNPACK pragmas
authorsimonpj@microsoft.com <unknown>
Thu, 6 May 2010 16:10:12 +0000 (16:10 +0000)
committersimonpj@microsoft.com <unknown>
Thu, 6 May 2010 16:10:12 +0000 (16:10 +0000)
compiler/nativeGen/Reg.hs
compiler/nativeGen/RegAlloc/Linear/Base.hs

index 27315ba..50d179c 100644 (file)
@@ -153,8 +153,8 @@ realRegsAlias rr1 rr2
 --------------------------------------------------------------------------------
 -- | A register, either virtual or real
 data Reg
-       = RegVirtual {-# UNPACK #-} !VirtualReg
-       | RegReal    {-# UNPACK #-} !RealReg
+       = RegVirtual !VirtualReg
+       | RegReal    !RealReg
        deriving (Eq, Ord)
 
 regSingle :: RegNo -> Reg
index 2626232..9fd090c 100644 (file)
@@ -51,14 +51,14 @@ type BlockAssignment
 --
 data Loc 
        -- | vreg is in a register
-       = InReg   {-# UNPACK #-}  !RealReg
+       = InReg   !RealReg
 
        -- | vreg is held in a stack slot
        | InMem   {-# UNPACK #-}  !StackSlot
 
 
        -- | vreg is held in both a register and a stack slot
-       | InBoth  {-# UNPACK #-}  !RealReg
+       | InBoth   !RealReg
                   {-# UNPACK #-} !StackSlot
        deriving (Eq, Show, Ord)