Move global register saving from the backend to codeGen (CPS specific parts)