fn into_temp_reg(
        &mut self,
        ty: impl Into<Option<GPRType>>,
        val: &mut ValueLocation,
    ) -> Option<GPR> {
        let out = self.to_temp_reg(ty, *val)?;
        self.free_value(*val);
        *val = ValueLocation::Reg(out);
        Some(out)
    }
/// Puts this value into a temporary register so that operations
/// on that register don't write to a local.
Puts this value into a temporary register so that operations
on that register don't write to a local.
Puts this value into a temporary register so that operations on that register don ' t write to a local .
fn into_temp_reg(
        &mut self,
        ty: impl Into<Option<GPRType>>,
        val: &mut ValueLocation,
    ) -> Option<GPR> {
        let out = self.to_temp_reg(ty, *val)?;
        self.free_value(*val);
        *val = ValueLocation::Reg(out);
        Some(out)
    }
fn into_temp_reg ( & mut self , ty : impl Into < Option < GPRType > > , val : & mut ValueLocation , ) -> Option < GPR > { let out = self . to_temp_reg ( ty , * val ) ? ; self . free_value ( * val ) ; * val = ValueLocation :: Reg ( out ) ; Some ( out ) }
Puts this value into a temporary register so that operations
on that register don't write to a local.
Puts this value into a temporary register so that operations on that register don ' t write to a local .
&mut self
ty
impl Into<Option<GPRType>>
val
&mut ValueLocation