SIGN IN SIGN UP

SSA: Fix cycle in stack shuffler

Previously, when we were trying to detect if all slots are reachable or
final, we were checking only target slots that are filled at the current
moment.
However, we need to check *all* the target slots, even those beoynd the
current stack size.

Previous behaviour meant we were not shrinking the stack as much as was
required in some situations and the shuffling went into a loop.

With this fix most of the examples that were looping previously are now
successful.
B
blishko committed
47c83613b40dc0efd767d70047255ed68e1cb017
Parent: cc58705