This also moves the calls to it out of Context and into the passes that actually need it, so that Context's functions don't have any logic of their own.
This also moves the calls to it out of Context and into the passes that actually need it, so that Context's functions don't have any logic of their own.