cvs commit: fptools/ghc/compiler/codeGen CgStackery.lhs
Wed, 12 Sep 2001 06:01:02 -0700
simonmar 2001/09/12 06:01:02 PDT
Modified files: (Branch: ghc-5-02-branch)
Bugfix: there was an implicit assumption that the list of slots passed
to freeStackSlots was already sorted, whereas in fact this wasn't the
case for at least one call. Now we explicitly sort the list in
freeStackSlots, removing the hidden assumption.
The symptoms of this bug include crashes (perhaps the "AsmCodeGen"
crash), and a tendency to grow the stack a lot when let-no-escapes are
involved (because the bug caused fragmentation of the stack free list,
so we weren't re-using free slots properly).
Revision Changes Path
188.8.131.52 +3 -2 fptools/ghc/compiler/codeGen/CgStackery.lhs