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:
050a0f3
)
Forgotten function
author
dennis
<dennis@felsin9.de>
Mon, 25 Feb 2013 01:49:54 +0000
(
01:49
+0000)
committer
dennis
<dennis@felsin9.de>
Mon, 25 Feb 2013 01:49:54 +0000
(
01:49
+0000)
src/GHC/HeapView.hs
patch
|
blob
|
history
diff --git
a/src/GHC/HeapView.hs
b/src/GHC/HeapView.hs
index
7c4eb25
..
cc88e1d
100644
(file)
--- a/
src/GHC/HeapView.hs
+++ b/
src/GHC/HeapView.hs
@@
-823,6
+823,8
@@
generalBuildHeapGraph knownEntries newIndices limit initialBoxes = do
modify (\(a,b,c) -> (a, tail b, c))
return i
modify (\(a,b,c) -> (a, tail b, c))
return i
+ initialLookup b = lookup b $ map swap initialBoxes
+
-- | Pretty-prints a HeapGraph. The resulting string contains newlines. Example
-- for @let s = "Ki" in (s, s, cycle "Ho")@:
--
-- | Pretty-prints a HeapGraph. The resulting string contains newlines. Example
-- for @let s = "Ki" in (s, s, cycle "Ho")@:
--