projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2004-09-30 10:35:15 by simonpj]
[ghc-hetmet.git]
/
ghc
/
compiler
/
codeGen
/
CgProf.hs
diff --git
a/ghc/compiler/codeGen/CgProf.hs
b/ghc/compiler/codeGen/CgProf.hs
index
30f801d
..
0c2381b
100644
(file)
--- a/
ghc/compiler/codeGen/CgProf.hs
+++ b/
ghc/compiler/codeGen/CgProf.hs
@@
-389,9
+389,9
@@
emitSetCCC :: CostCentre -> Code
emitSetCCC cc
| not opt_SccProfilingOn = nopC
| otherwise = do
emitSetCCC cc
| not opt_SccProfilingOn = nopC
| otherwise = do
- ASSERTM(sccAbleCostCentre cc)
tmp <- newTemp wordRep
tmp <- newTemp wordRep
- pushCostCentre tmp curCCS cc
+ ASSERT( sccAbleCostCentre cc )
+ pushCostCentre tmp curCCS cc
stmtC (CmmStore curCCSAddr (CmmReg tmp))
when (isSccCountCostCentre cc) $
stmtC (bumpSccCount curCCS)
stmtC (CmmStore curCCSAddr (CmmReg tmp))
when (isSccCountCostCentre cc) $
stmtC (bumpSccCount curCCS)