diff options
author | Simon Marlow <simonmar@microsoft.com> | 2006-08-30 09:15:29 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2006-08-30 09:15:29 +0000 |
commit | ed92004880e4a79457338edfe993f968360fbbfd (patch) | |
tree | 6a89db65436f9c81ebb54d48de9eb435c14bfdf9 /rts/MBlock.c | |
parent | 6f4b74278025a9b8061df721ab4769ae2ea8f2ff (diff) | |
download | haskell-ed92004880e4a79457338edfe993f968360fbbfd.tar.gz |
MAYBE_GC: initialise HpAlloc
HpAlloc was not being set when returning to the scheduler via MAYBE_GC(),
which at the least was just wrong (the scheduler might allocate a large
block more than once), and at worst could lead to crashes if HpAlloc contains
garbage.
Fixes at least one threaded2 test on Windows.
Diffstat (limited to 'rts/MBlock.c')
0 files changed, 0 insertions, 0 deletions