Skip to content
Snippets Groups Projects
Commit 81af806b authored by Simon Marlow's avatar Simon Marlow
Browse files

Fix crash in biographical heap profiling (#2576)

parent c016a94c
No related branches found
Tags ghc-darcs-git-switchover
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment