projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5dfcae0
)
[project @ 2005-02-25 12:50:48 by simonpj]
author
simonpj
<unknown>
Fri, 25 Feb 2005 12:50:48 +0000
(12:50 +0000)
committer
simonpj
<unknown>
Fri, 25 Feb 2005 12:50:48 +0000
(12:50 +0000)
Profiling addition
ghc/compiler/simplCore/SimplCore.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/simplCore/SimplCore.lhs
b/ghc/compiler/simplCore/SimplCore.lhs
index
7593adb
..
32c6978
100644
(file)
--- a/
ghc/compiler/simplCore/SimplCore.lhs
+++ b/
ghc/compiler/simplCore/SimplCore.lhs
@@
-476,7
+476,7
@@
simplifyPgm mode switches hsc_env us rule_base guts
-- case t of {(_,counts') -> if counts'=0 then ... }
-- So the conditional didn't force counts', because the
-- selection got duplicated. Sigh!
- case initSmpl dflags us1 (simplTopBinds simpl_env tagged_binds) of {
+ case initSmpl dflags us1 (_scc_ "SimplTopBinds" simplTopBinds simpl_env tagged_binds) of {
(binds', counts') -> do {
let { guts' = guts { mg_binds = binds' }