diff options
Diffstat (limited to 'compiler/cmm/CmmExpr.hs')
-rw-r--r-- | compiler/cmm/CmmExpr.hs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/compiler/cmm/CmmExpr.hs b/compiler/cmm/CmmExpr.hs index 1df8e848b8..d3624dac6b 100644 --- a/compiler/cmm/CmmExpr.hs +++ b/compiler/cmm/CmmExpr.hs @@ -18,7 +18,7 @@ module CmmExpr , plusRegSet, minusRegSet, timesRegSet, sizeRegSet, nullRegSet , regSetToList , regUsedIn - + , Area(..) , module CmmMachOp , module CmmType @@ -119,7 +119,11 @@ data CmmLit -- Invariant: must be a continuation BlockId -- See Note [Continuation BlockId] in CmmNode. - | CmmHighStackMark -- stands for the max stack space used during a procedure + | CmmHighStackMark -- A late-bound constant that stands for the max + -- #bytes of stack space used during a procedure. + -- During the stack-layout pass, CmmHighStackMark + -- is replaced by a CmmInt for the actual number + -- of bytes used deriving Eq cmmExprType :: DynFlags -> CmmExpr -> CmmType @@ -336,7 +340,7 @@ data GlobalReg | LongReg -- long int registers (64-bit, really) {-# UNPACK #-} !Int -- its number - | XmmReg -- 128-bit SIMD vector register + | XmmReg -- 128-bit SIMD vector register {-# UNPACK #-} !Int -- its number -- STG registers |