Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
2af2966d
Commit
2af2966d
authored
Feb 11, 2009
by
Ian Lynagh
Browse files
Fix trac #3001: Biographical profiling segfaults
We were zeroing the wrong memory
parent
24c1c71f
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/sm/Evac.c
View file @
2af2966d
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment