Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix crash in biographical heap profiling (#2576)

  • Loading branch information...
commit 81af806b823c3dd633a7c102b1fa6afbf89f16ef 1 parent c016a94
@simonmar simonmar authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  rts/sm/Evac.c
View
2  rts/sm/Evac.c
@@ -212,7 +212,7 @@ copyPart(StgClosure **p, StgClosure *src, nat size_to_reserve, nat size_to_copy,
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;
Please sign in to comment.
Something went wrong with that request. Please try again.