MAYBE_GC: initialise HpAlloc
authorSimon Marlow <simonmar@microsoft.com>
Wed, 30 Aug 2006 09:15:29 +0000 (09:15 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 30 Aug 2006 09:15:29 +0000 (09:15 +0000)
commited92004880e4a79457338edfe993f968360fbbfd
tree6a89db65436f9c81ebb54d48de9eb435c14bfdf9
parent6f4b74278025a9b8061df721ab4769ae2ea8f2ff
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.
includes/Cmm.h