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:
9d42bb7
)
fix off-by-one
author
simonmar@microsoft.com
<unknown>
Fri, 15 Feb 2008 13:40:17 +0000
(13:40 +0000)
committer
simonmar@microsoft.com
<unknown>
Fri, 15 Feb 2008 13:40:17 +0000
(13:40 +0000)
rts/sm/Evac.c
patch
|
blob
|
history
diff --git
a/rts/sm/Evac.c
b/rts/sm/Evac.c
index
ee88175
..
a5919ef
100644
(file)
--- a/
rts/sm/Evac.c
+++ b/
rts/sm/Evac.c
@@
-59,7
+59,7
@@
alloc_for_copy (nat size, step *stp)
ASSERT(ws->todo_free >= ws->todo_bd->free && ws->todo_free <= ws->todo_lim);
to = ws->todo_free;
- if (to + size >= ws->todo_lim) {
+ if (to + size > ws->todo_lim) {
to = gc_alloc_todo_block(ws);
}
ws->todo_free = to + size;