projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c614ed0
)
Added spLimReg to complement spReg and hpReg
author
Michael D. Adams
<t-madams@microsoft.com>
Fri, 18 May 2007 13:23:17 +0000
(13:23 +0000)
committer
Michael D. Adams
<t-madams@microsoft.com>
Fri, 18 May 2007 13:23:17 +0000
(13:23 +0000)
compiler/cmm/Cmm.hs
patch
|
blob
|
history
diff --git
a/compiler/cmm/Cmm.hs
b/compiler/cmm/Cmm.hs
index
d3bdead
..
00d93b0
100644
(file)
--- a/
compiler/cmm/Cmm.hs
+++ b/
compiler/cmm/Cmm.hs
@@
-20,7
+20,7
@@
module Cmm (
BlockId(..),
GlobalReg(..), globalRegRep,
BlockId(..),
GlobalReg(..), globalRegRep,
- node, nodeReg, spReg, hpReg,
+ node, nodeReg, spReg, hpReg, spLimReg
) where
#include "HsVersions.h"
) where
#include "HsVersions.h"
@@
-351,9
+351,10
@@
data GlobalReg
)
-- convenient aliases
)
-- convenient aliases
-spReg, hpReg, nodeReg :: CmmReg
+spReg, hpReg, spLimReg, nodeReg :: CmmReg
spReg = CmmGlobal Sp
hpReg = CmmGlobal Hp
spReg = CmmGlobal Sp
hpReg = CmmGlobal Hp
+spLimReg = CmmGlobal SpLim
nodeReg = CmmGlobal node
node :: GlobalReg
nodeReg = CmmGlobal node
node :: GlobalReg