projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused option -femit-extern-decls
[ghc-hetmet.git]
/
rts
/
MBlock.c
diff --git
a/rts/MBlock.c
b/rts/MBlock.c
index
c886fd5
..
85fe02d
100644
(file)
--- a/
rts/MBlock.c
+++ b/
rts/MBlock.c
@@
-442,7
+442,7
@@
static void
commitBlocks(char* base, int size) {
alloc_rec* it;
it=allocs;
commitBlocks(char* base, int size) {
alloc_rec* it;
it=allocs;
- for( ; it!=0 && (it->base+it->size)<base; it=it->next ) {}
+ for( ; it!=0 && (it->base+it->size)<=base; it=it->next ) {}
for( ; it!=0 && size>0; it=it->next ) {
int size_delta;
void* temp;
for( ; it!=0 && size>0; it=it->next ) {
int size_delta;
void* temp;