Skip to content

Commit

Permalink
Remove useless UNPACK pragmas
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpj@microsoft.com committed May 6, 2010
1 parent c1a4499 commit 0ebb776
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions compiler/nativeGen/Reg.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions compiler/nativeGen/RegAlloc/Linear/Base.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 0ebb776

Please sign in to comment.