@@ -27,9 +27,7 @@ use rustc_session::config::{CrateType, DebugInfo, PAuthKey, PacRet};
2727use rustc_session:: Session ;
2828use rustc_span:: source_map:: Spanned ;
2929use rustc_span:: Span ;
30- use rustc_target:: abi:: {
31- call:: FnAbi , HasDataLayout , PointeeInfo , Size , TargetDataLayout , VariantIdx ,
32- } ;
30+ use rustc_target:: abi:: { call:: FnAbi , HasDataLayout , TargetDataLayout , VariantIdx } ;
3331use rustc_target:: spec:: { HasTargetSpec , RelocModel , Target , TlsModel } ;
3432use smallvec:: SmallVec ;
3533
@@ -82,7 +80,6 @@ pub struct CodegenCx<'ll, 'tcx> {
8280 /// Mapping of scalar types to llvm types.
8381 pub scalar_lltypes : RefCell < FxHashMap < Ty < ' tcx > , & ' ll Type > > ,
8482
85- pub pointee_infos : RefCell < FxHashMap < ( Ty < ' tcx > , Size ) , Option < PointeeInfo > > > ,
8683 pub isize_ty : & ' ll Type ,
8784
8885 pub coverage_cx : Option < coverageinfo:: CrateCoverageContext < ' ll , ' tcx > > ,
@@ -487,7 +484,6 @@ impl<'ll, 'tcx> CodegenCx<'ll, 'tcx> {
487484 compiler_used_statics : RefCell :: new ( Vec :: new ( ) ) ,
488485 type_lowering : Default :: default ( ) ,
489486 scalar_lltypes : Default :: default ( ) ,
490- pointee_infos : Default :: default ( ) ,
491487 isize_ty,
492488 coverage_cx,
493489 dbg_cx,
0 commit comments