@@ -58,7 +58,7 @@ impl<'tcx> Stable<'tcx>
5858 LayoutShape {
5959 fields : self . fields . stable ( tables) ,
6060 variants : self . variants . stable ( tables) ,
61- abi : self . abi . stable ( tables) ,
61+ abi : self . ir_form . stable ( tables) ,
6262 abi_align : self . align . abi . stable ( tables) ,
6363 size : self . size . stable ( tables) ,
6464 }
@@ -202,20 +202,20 @@ impl<'tcx> Stable<'tcx> for rustc_abi::TagEncoding<rustc_target::abi::VariantIdx
202202 }
203203}
204204
205- impl < ' tcx > Stable < ' tcx > for rustc_abi:: Abi {
205+ impl < ' tcx > Stable < ' tcx > for rustc_abi:: IrForm {
206206 type T = ValueAbi ;
207207
208208 fn stable ( & self , tables : & mut Tables < ' _ > ) -> Self :: T {
209209 match * self {
210- rustc_abi:: Abi :: Uninhabited => ValueAbi :: Uninhabited ,
211- rustc_abi:: Abi :: Scalar ( scalar) => ValueAbi :: Scalar ( scalar. stable ( tables) ) ,
212- rustc_abi:: Abi :: ScalarPair ( first, second) => {
210+ rustc_abi:: IrForm :: Uninhabited => ValueAbi :: Uninhabited ,
211+ rustc_abi:: IrForm :: Scalar ( scalar) => ValueAbi :: Scalar ( scalar. stable ( tables) ) ,
212+ rustc_abi:: IrForm :: ScalarPair ( first, second) => {
213213 ValueAbi :: ScalarPair ( first. stable ( tables) , second. stable ( tables) )
214214 }
215- rustc_abi:: Abi :: Vector { element, count } => {
215+ rustc_abi:: IrForm :: Vector { element, count } => {
216216 ValueAbi :: Vector { element : element. stable ( tables) , count }
217217 }
218- rustc_abi:: Abi :: Aggregate { sized } => ValueAbi :: Aggregate { sized } ,
218+ rustc_abi:: IrForm :: Memory { sized } => ValueAbi :: Aggregate { sized } ,
219219 }
220220 }
221221}
0 commit comments