projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Better debug output
[ghc-hetmet.git]
/
compiler
/
codeGen
/
StgCmmMonad.hs
diff --git
a/compiler/codeGen/StgCmmMonad.hs
b/compiler/codeGen/StgCmmMonad.hs
index
dbcb540
..
f1823bd
100644
(file)
--- a/
compiler/codeGen/StgCmmMonad.hs
+++ b/
compiler/codeGen/StgCmmMonad.hs
@@
-260,7
+260,9
@@
data CgState
data HeapUsage =
HeapUsage {
virtHp :: VirtualHpOffset, -- Virtual offset of highest-allocated word
data HeapUsage =
HeapUsage {
virtHp :: VirtualHpOffset, -- Virtual offset of highest-allocated word
+ -- Incremented whenever we allocate
realHp :: VirtualHpOffset -- realHp: Virtual offset of real heap ptr
realHp :: VirtualHpOffset -- realHp: Virtual offset of real heap ptr
+ -- Used in instruction addressing modes
}
type VirtualHpOffset = WordOff
}
type VirtualHpOffset = WordOff