Add pass to construct shared stack frames for CPS nodes.

(This is more work in progress.)