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:
24c1c71
)
Fix trac #3001: Biographical profiling segfaults
author
Ian Lynagh
<igloo@earth.li>
Wed, 11 Feb 2009 15:34:57 +0000
(15:34 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Wed, 11 Feb 2009 15:34:57 +0000
(15:34 +0000)
We were zeroing the wrong memory
rts/sm/Evac.c
patch
|
blob
|
history
diff --git
a/rts/sm/Evac.c
b/rts/sm/Evac.c
index
1c453fc
..
01cc0d8
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, (int)(size_to_reserve - size_to_copy));
+ LDV_FILL_SLOP(to + size_to_reserve, (int)(size_to_reserve - size_to_copy));
#endif
return rtsTrue;