Skip to content
  • Simon Marlow's avatar
    Teach the linear register allocator how to allocate more stack if necessary · 0b0a41f9
    Simon Marlow authored
    This squashes the "out of spill slots" panic that occasionally happens
    on x86, by adding instructions to bump and retreat the C stack pointer
    as necessary.  The panic has become more common since the new codegen,
    because we lump code into larger blocks, and the register allocator
    isn't very good at reusing stack slots for spilling (see Note [extra
    spill slots]).
    0b0a41f9