Skip to content
  • Simon Marlow's avatar
    MAYBE_GC: initialise HpAlloc · ed920048
    Simon Marlow authored
    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.
    ed920048