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:
e97c8fa
)
FIX BUILD (non-profiling RTS was broken in previous patch)
author
Simon Marlow
<simonmar@microsoft.com>
Tue, 8 May 2007 13:20:49 +0000
(13:20 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Tue, 8 May 2007 13:20:49 +0000
(13:20 +0000)
rts/ProfHeap.c
patch
|
blob
|
history
diff --git
a/rts/ProfHeap.c
b/rts/ProfHeap.c
index
19abac7
..
e8966ec
100644
(file)
--- a/
rts/ProfHeap.c
+++ b/
rts/ProfHeap.c
@@
-523,6
+523,7
@@
endHeapProfiling(void)
}
#endif
+#ifdef PROFILING
if (doingLDVProfiling()) {
nat t;
for (t = 1; t <= era; t++) {
@@
-531,6
+532,10
@@
endHeapProfiling(void)
} else {
freeEra( &censuses[0] );
}
+#else
+ freeEra( &censuses[0] );
+#endif
+
stgFree(censuses);
seconds = mut_user_time();