diff options
author | Simon Marlow <marlowsd@gmail.com> | 2012-01-23 13:38:20 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2012-01-23 13:38:20 +0000 |
commit | 3751cdcd817b5a65bdb5750fb2793babce2fd241 (patch) | |
tree | 5c4bcc67935f3e18fa9dde1edd0ebf8c9cbe3da8 /compiler/cmm/CmmExpr.hs | |
parent | 02ad9a75e09da34821ad66ccb67248049eb6ad08 (diff) | |
download | haskell-3751cdcd817b5a65bdb5750fb2793babce2fd241.tar.gz |
strictness annotations
Diffstat (limited to 'compiler/cmm/CmmExpr.hs')
-rw-r--r-- | compiler/cmm/CmmExpr.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/cmm/CmmExpr.hs b/compiler/cmm/CmmExpr.hs index 5aed63b7a2..5abbed3522 100644 --- a/compiler/cmm/CmmExpr.hs +++ b/compiler/cmm/CmmExpr.hs @@ -44,11 +44,11 @@ import qualified Data.Set as Set data CmmExpr = CmmLit CmmLit -- Literal - | CmmLoad CmmExpr CmmType -- Read memory location - | CmmReg CmmReg -- Contents of register + | CmmLoad !CmmExpr !CmmType -- Read memory location + | CmmReg !CmmReg -- Contents of register | CmmMachOp MachOp [CmmExpr] -- Machine operation (+, -, *, etc.) | CmmStackSlot Area Int -- addressing expression of a stack slot - | CmmRegOff CmmReg Int + | CmmRegOff !CmmReg Int -- CmmRegOff reg i -- ** is shorthand only, meaning ** -- CmmMachOp (MO_Add rep) [x, CmmLit (CmmInt (fromIntegral i) rep)] |