projects
/
ghc-heap-view.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00db476
)
Add annotations in the right order
author
Joachim Breitner
<mail@joachim-breitner.de>
Thu, 28 Feb 2013 10:25:59 +0000
(10:25 +0000)
committer
Joachim Breitner
<mail@joachim-breitner.de>
Thu, 28 Feb 2013 10:25:59 +0000
(10:25 +0000)
src/GHC/HeapView.hs
patch
|
blob
|
history
diff --git
a/src/GHC/HeapView.hs
b/src/GHC/HeapView.hs
index
b2990e0
..
c0a6847
100644
(file)
--- a/
src/GHC/HeapView.hs
+++ b/
src/GHC/HeapView.hs
@@
-831,7
+831,7
@@
generalBuildHeapGraph limit (HeapGraph hg) addBoxes = do
-- already there
(is, hg') <- runWriterT (evalStateT run initialState)
-- Now add the annotations of the root values
- let hg'' = fold
r (uncurry annotateHeapGraph
) (HeapGraph hg') is
+ let hg'' = fold
l' (flip (uncurry annotateHeapGraph)
) (HeapGraph hg') is
return (hg'', is)
where
run = do