ok
cleanup of codegen function calls, removing raw use of registers
codegen cleanup