@@ -58,7 +58,7 @@ impl<'tcx> Stable<'tcx>
58
58
LayoutShape {
59
59
fields : self . fields . stable ( tables) ,
60
60
variants : self . variants . stable ( tables) ,
61
- abi : self . abi . stable ( tables) ,
61
+ abi : self . ir_form . stable ( tables) ,
62
62
abi_align : self . align . abi . stable ( tables) ,
63
63
size : self . size . stable ( tables) ,
64
64
}
@@ -202,20 +202,20 @@ impl<'tcx> Stable<'tcx> for rustc_abi::TagEncoding<rustc_target::abi::VariantIdx
202
202
}
203
203
}
204
204
205
- impl < ' tcx > Stable < ' tcx > for rustc_abi:: Abi {
205
+ impl < ' tcx > Stable < ' tcx > for rustc_abi:: IrForm {
206
206
type T = ValueAbi ;
207
207
208
208
fn stable ( & self , tables : & mut Tables < ' _ > ) -> Self :: T {
209
209
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) => {
213
213
ValueAbi :: ScalarPair ( first. stable ( tables) , second. stable ( tables) )
214
214
}
215
- rustc_abi:: Abi :: Vector { element, count } => {
215
+ rustc_abi:: IrForm :: Vector { element, count } => {
216
216
ValueAbi :: Vector { element : element. stable ( tables) , count }
217
217
}
218
- rustc_abi:: Abi :: Aggregate { sized } => ValueAbi :: Aggregate { sized } ,
218
+ rustc_abi:: IrForm :: Memory { sized } => ValueAbi :: Aggregate { sized } ,
219
219
}
220
220
}
221
221
}
0 commit comments