Store CodeGenRegisters as pointers so they won't be reallocated.