Translation gc -> code generation