Fix allocate-slots for $kreceive with multiple predecessors
authorAndy Wingo <wingo@pobox.com>
Mon, 21 Jul 2014 09:47:43 +0000 (11:47 +0200)
committerAndy Wingo <wingo@pobox.com>
Mon, 21 Jul 2014 09:47:43 +0000 (11:47 +0200)
commitebca3afedb716087b5cd5d64e9ba4e5d94491367
tree1e789c8534b41486afc41ab5c75f9c16b8a587d7
parent6d7b6a171e2eafd1dd48424f39f5796a67e73ad4
Fix allocate-slots for $kreceive with multiple predecessors

* module/language/cps/slot-allocation.scm (allocate-slots): For
  continuations of $call, $callk, and $values with multiple
  predecessors, recalculate the set of live slots.  Fixes miscompilation
  of ice-9/futures.scm:process-future!, broken since the previous patch,
  now that $kreceive continuations can have multiple predecessors.
module/language/cps/slot-allocation.scm