@@ -27,9 +27,7 @@ use rustc_session::config::{CrateType, DebugInfo, PAuthKey, PacRet};
27
27
use rustc_session:: Session ;
28
28
use rustc_span:: source_map:: Spanned ;
29
29
use 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 } ;
33
31
use rustc_target:: spec:: { HasTargetSpec , RelocModel , Target , TlsModel } ;
34
32
use smallvec:: SmallVec ;
35
33
@@ -82,7 +80,6 @@ pub struct CodegenCx<'ll, 'tcx> {
82
80
/// Mapping of scalar types to llvm types.
83
81
pub scalar_lltypes : RefCell < FxHashMap < Ty < ' tcx > , & ' ll Type > > ,
84
82
85
- pub pointee_infos : RefCell < FxHashMap < ( Ty < ' tcx > , Size ) , Option < PointeeInfo > > > ,
86
83
pub isize_ty : & ' ll Type ,
87
84
88
85
pub coverage_cx : Option < coverageinfo:: CrateCoverageContext < ' ll , ' tcx > > ,
@@ -487,7 +484,6 @@ impl<'ll, 'tcx> CodegenCx<'ll, 'tcx> {
487
484
compiler_used_statics : RefCell :: new ( Vec :: new ( ) ) ,
488
485
type_lowering : Default :: default ( ) ,
489
486
scalar_lltypes : Default :: default ( ) ,
490
- pointee_infos : Default :: default ( ) ,
491
487
isize_ty,
492
488
coverage_cx,
493
489
dbg_cx,
0 commit comments