fn offset_iplace<Bx: BuilderMethods<'a, 'tcx>>(
        &mut self,
        bx: &Bx,
        mut ip: ykpack::IPlace,
        add: ykpack::OffT,
        mirty: Ty<'tcx>,
    ) -> ykpack::IPlace {
        match &mut ip {
            ykpack::IPlace::Val { off, ty, .. } => {
                *off += add;
                *ty = self.lower_ty_and_layout(bx, &self.mono_layout_of(bx, mirty));
                ip
            }
            ykpack::IPlace::Indirect { off, ty, .. } => {
                *off += add;
                *ty = self.lower_ty_and_layout(bx, &self.mono_layout_of(bx, mirty));
                ip
            }
            ykpack::IPlace::Const { .. } => {
                ykpack::IPlace::Unimplemented("offset_iplace on a constant".to_owned())
            }
            ykpack::IPlace::Unimplemented(_) => ip,
        }
    }
/// Apply an offset to an IPlace.
Apply an offset to an IPlace.
Apply an offset to an IPlace .
fn offset_iplace<Bx: BuilderMethods<'a, 'tcx>>(
        &mut self,
        bx: &Bx,
        mut ip: ykpack::IPlace,
        add: ykpack::OffT,
        mirty: Ty<'tcx>,
    ) -> ykpack::IPlace {
        match &mut ip {
            ykpack::IPlace::Val { off, ty, .. } => {
                *off += add;
                *ty = self.lower_ty_and_layout(bx, &self.mono_layout_of(bx, mirty));
                ip
            }
            ykpack::IPlace::Indirect { off, ty, .. } => {
                *off += add;
                *ty = self.lower_ty_and_layout(bx, &self.mono_layout_of(bx, mirty));
                ip
            }
            ykpack::IPlace::Const { .. } => {
                ykpack::IPlace::Unimplemented("offset_iplace on a constant".to_owned())
            }
            ykpack::IPlace::Unimplemented(_) => ip,
        }
    }
fn offset_iplace < Bx : BuilderMethods < ' a , ' tcx > > ( & mut self , bx : & Bx , mut ip : ykpack :: IPlace , add : ykpack :: OffT , mirty : Ty < ' tcx > , ) -> ykpack :: IPlace { match & mut ip { ykpack :: IPlace :: Val { off , ty , .. } => { * off += add ; * ty = self . lower_ty_and_layout ( bx , & self . mono_layout_of ( bx , mirty ) ) ; ip } ykpack :: IPlace :: Indirect { off , ty , .. } => { * off += add ; * ty = self . lower_ty_and_layout ( bx , & self . mono_layout_of ( bx , mirty ) ) ; ip } ykpack :: IPlace :: Const { .. } => { ykpack :: IPlace :: Unimplemented ( " " . to_owned ( ) ) } ykpack :: IPlace :: Unimplemented ( _ ) => ip , } }
Apply an offset to an IPlace.
Apply an offset to an IPlace .
&mut self
bx
&Bx
ip
ykpack::IPlace
add
ykpack::OffT
mirty
Ty<'tcx>
&mut self
bx
&Bx
ip
ykpack::IPlace
add
ykpack::OffT
mirty
Ty<'tcx>