Fixed bug that caused some temporaries to be allocated to the wrong type of register if the temporary was never assigned to.