@@ -17,9 +17,9 @@ use tracing::trace;
1717use super :: memory:: MemoryKind ;
1818use super :: util:: ensure_monomorphic_enough;
1919use super :: {
20- Allocation , CheckInAllocMsg , ConstAllocation , GlobalId , ImmTy , InterpCx , InterpResult ,
21- MPlaceTy , Machine , OpTy , Pointer , PointerArithmetic , Provenance , Scalar , err_inval,
22- err_ub_custom , err_unsup_format, interp_ok, throw_inval, throw_ub_custom, throw_ub_format,
20+ Allocation , CheckInAllocMsg , ConstAllocation , GlobalId , ImmTy , InterpCx , InterpResult , Machine ,
21+ OpTy , PlaceTy , Pointer , PointerArithmetic , Provenance , Scalar , err_inval, err_ub_custom ,
22+ err_unsup_format, interp_ok, throw_inval, throw_ub_custom, throw_ub_format,
2323} ;
2424use crate :: fluent_generated as fluent;
2525
@@ -112,7 +112,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
112112 & mut self ,
113113 instance : ty:: Instance < ' tcx > ,
114114 args : & [ OpTy < ' tcx , M :: Provenance > ] ,
115- dest : & MPlaceTy < ' tcx , M :: Provenance > ,
115+ dest : & PlaceTy < ' tcx , M :: Provenance > ,
116116 ret : Option < mir:: BasicBlock > ,
117117 ) -> InterpResult < ' tcx , bool > {
118118 let instance_args = instance. args ;
@@ -587,7 +587,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
587587 & mut self ,
588588 a : & ImmTy < ' tcx , M :: Provenance > ,
589589 b : & ImmTy < ' tcx , M :: Provenance > ,
590- dest : & MPlaceTy < ' tcx , M :: Provenance > ,
590+ dest : & PlaceTy < ' tcx , M :: Provenance > ,
591591 ) -> InterpResult < ' tcx > {
592592 assert_eq ! ( a. layout. ty, b. layout. ty) ;
593593 assert_matches ! ( a. layout. ty. kind( ) , ty:: Int ( ..) | ty:: Uint ( ..) ) ;
@@ -801,7 +801,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
801801 fn float_min_intrinsic < F > (
802802 & mut self ,
803803 args : & [ OpTy < ' tcx , M :: Provenance > ] ,
804- dest : & MPlaceTy < ' tcx , M :: Provenance > ,
804+ dest : & PlaceTy < ' tcx , M :: Provenance > ,
805805 ) -> InterpResult < ' tcx , ( ) >
806806 where
807807 F : rustc_apfloat:: Float + rustc_apfloat:: FloatConvert < F > + Into < Scalar < M :: Provenance > > ,
@@ -822,7 +822,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
822822 fn float_max_intrinsic < F > (
823823 & mut self ,
824824 args : & [ OpTy < ' tcx , M :: Provenance > ] ,
825- dest : & MPlaceTy < ' tcx , M :: Provenance > ,
825+ dest : & PlaceTy < ' tcx , M :: Provenance > ,
826826 ) -> InterpResult < ' tcx , ( ) >
827827 where
828828 F : rustc_apfloat:: Float + rustc_apfloat:: FloatConvert < F > + Into < Scalar < M :: Provenance > > ,
@@ -843,7 +843,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
843843 fn float_minimum_intrinsic < F > (
844844 & mut self ,
845845 args : & [ OpTy < ' tcx , M :: Provenance > ] ,
846- dest : & MPlaceTy < ' tcx , M :: Provenance > ,
846+ dest : & PlaceTy < ' tcx , M :: Provenance > ,
847847 ) -> InterpResult < ' tcx , ( ) >
848848 where
849849 F : rustc_apfloat:: Float + rustc_apfloat:: FloatConvert < F > + Into < Scalar < M :: Provenance > > ,
@@ -859,7 +859,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
859859 fn float_maximum_intrinsic < F > (
860860 & mut self ,
861861 args : & [ OpTy < ' tcx , M :: Provenance > ] ,
862- dest : & MPlaceTy < ' tcx , M :: Provenance > ,
862+ dest : & PlaceTy < ' tcx , M :: Provenance > ,
863863 ) -> InterpResult < ' tcx , ( ) >
864864 where
865865 F : rustc_apfloat:: Float + rustc_apfloat:: FloatConvert < F > + Into < Scalar < M :: Provenance > > ,
@@ -875,7 +875,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
875875 fn float_copysign_intrinsic < F > (
876876 & mut self ,
877877 args : & [ OpTy < ' tcx , M :: Provenance > ] ,
878- dest : & MPlaceTy < ' tcx , M :: Provenance > ,
878+ dest : & PlaceTy < ' tcx , M :: Provenance > ,
879879 ) -> InterpResult < ' tcx , ( ) >
880880 where
881881 F : rustc_apfloat:: Float + rustc_apfloat:: FloatConvert < F > + Into < Scalar < M :: Provenance > > ,
@@ -890,7 +890,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
890890 fn float_abs_intrinsic < F > (
891891 & mut self ,
892892 args : & [ OpTy < ' tcx , M :: Provenance > ] ,
893- dest : & MPlaceTy < ' tcx , M :: Provenance > ,
893+ dest : & PlaceTy < ' tcx , M :: Provenance > ,
894894 ) -> InterpResult < ' tcx , ( ) >
895895 where
896896 F : rustc_apfloat:: Float + rustc_apfloat:: FloatConvert < F > + Into < Scalar < M :: Provenance > > ,
0 commit comments