projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
makeSolvedByInst is only called on wanteds
[ghc-hetmet.git]
/
rts
/
sm
/
MBlock.c
diff --git
a/rts/sm/MBlock.c
b/rts/sm/MBlock.c
index
b9d71f6
..
1801086
100644
(file)
--- a/
rts/sm/MBlock.c
+++ b/
rts/sm/MBlock.c
@@
-265,16
+265,17
@@
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]);
}
stgFree(mblock_maps);
+#endif
}
void