Move handing of GlobalValues from getReg() to copyConstantToRegister(), this