Fix emitting of temporaries.