Commit 2af2966d authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix trac #3001: Biographical profiling segfaults

We were zeroing the wrong memory
parent 24c1c71f
......@@ -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));
return rtsTrue;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment