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:
8d6afe7
)
[project @ 2005-05-17 12:22:37 by simonmar]
author
simonmar
<unknown>
Tue, 17 May 2005 12:22:37 +0000
(12:22 +0000)
committer
simonmar
<unknown>
Tue, 17 May 2005 12:22:37 +0000
(12:22 +0000)
Profiling: the type_descr and closure_descr were the wrong way around,
so +RTS -hy behaves like +RTS -hd, and vice-versa. How on earth that
happened I have no idea.
ghc/compiler/codeGen/CgInfoTbls.hs
patch
|
blob
|
history
diff --git
a/ghc/compiler/codeGen/CgInfoTbls.hs
b/ghc/compiler/codeGen/CgInfoTbls.hs
index
adfdb1a
..
9ac81bb
100644
(file)
--- a/
ghc/compiler/codeGen/CgInfoTbls.hs
+++ b/
ghc/compiler/codeGen/CgInfoTbls.hs
@@
-394,7
+394,7
@@
mkStdInfoTable type_descr closure_descr cl_type srt_len layout_lit
where
prof_info
- | opt_SccProfilingOn = [closure_descr, type_descr]
+ | opt_SccProfilingOn = [type_descr, closure_descr]
| otherwise = []
type_lit = packHalfWordsCLit cl_type srt_len