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:
5de5996
)
[project @ 2005-05-12 11:36:50 by stolz]
author
stolz
<unknown>
Thu, 12 May 2005 11:36:50 +0000
(11:36 +0000)
committer
stolz
<unknown>
Thu, 12 May 2005 11:36:50 +0000
(11:36 +0000)
C89ify recent change
ghc/rts/Storage.c
patch
|
blob
|
history
diff --git
a/ghc/rts/Storage.c
b/ghc/rts/Storage.c
index
8643972
..
7bb6e39
100644
(file)
--- a/
ghc/rts/Storage.c
+++ b/
ghc/rts/Storage.c
@@
-828,6
+828,7
@@
calcAllocated( void )
allocated = allocated_bytes();
allocated += countNurseryBlocks() * BLOCK_SIZE_W;
+ {
#ifdef SMP
nat i;
for (i = 0; i < n_nurseries; i++) {
@@
-854,6
+855,7
@@
calcAllocated( void )
- current_nursery->free;
}
#endif
+ }
total_allocated += allocated;
return allocated;