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:
9042f34
)
fix warning
author
Simon Marlow
<marlowsd@gmail.com>
Mon, 31 Jan 2011 13:59:51 +0000
(13:59 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Mon, 31 Jan 2011 13:59:51 +0000
(13:59 +0000)
rts/sm/MBlock.c
patch
|
blob
|
history
diff --git
a/rts/sm/MBlock.c
b/rts/sm/MBlock.c
index
f5b61c6
..
1801086
100644
(file)
--- a/
rts/sm/MBlock.c
+++ b/
rts/sm/MBlock.c
@@
-265,13
+265,12
@@
freeMBlocks(void *addr, nat n)
void
freeAllMBlocks(void)
{
- nat n;
-
debugTrace(DEBUG_gc, "freeing all megablocks");
osFreeAllMBlocks();
#if SIZEOF_VOID_P == 8
+ nat n;
for (n = 0; n < mblock_map_count; n++) {
stgFree(mblock_maps[n]);
}