sl2: Extend local/global const analysis to slast.

This brings us to the point where we can run the launcher using
the local/global const analysis.