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:
c016a94
)
Fix crash in biographical heap profiling (#2576)
2008-09-12
2008-09-12_2
author
Simon Marlow
<marlowsd@gmail.com>
Fri, 12 Sep 2008 11:25:44 +0000
(11:25 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Fri, 12 Sep 2008 11:25:44 +0000
(11:25 +0000)
rts/sm/Evac.c
patch
|
blob
|
history
diff --git
a/rts/sm/Evac.c
b/rts/sm/Evac.c
index
f537e2b
..
9b42fc1
100644
(file)
--- a/
rts/sm/Evac.c
+++ b/
rts/sm/Evac.c
@@
-212,7
+212,7
@@
spin:
SET_EVACUAEE_FOR_LDV(from, size_to_reserve);
// fill the slop
if (size_to_reserve - size_to_copy > 0)
- LDV_FILL_SLOP(to + size_to_copy - 1, (int)(size_to_reserve - size_to_copy));
+ LDV_FILL_SLOP(to + size_to_copy, (int)(size_to_reserve - size_to_copy));
#endif
return rtsTrue;