@@ -88,6 +88,7 @@ use std::borrow::Cow;
88
88
89
89
use either:: Either ;
90
90
use rustc_abi:: { self as abi, BackendRepr , FIRST_VARIANT , FieldIdx , Primitive , Size , VariantIdx } ;
91
+ use rustc_arena:: DroplessArena ;
91
92
use rustc_const_eval:: const_eval:: DummyMachine ;
92
93
use rustc_const_eval:: interpret:: {
93
94
ImmTy , Immediate , InterpCx , MemPlaceMeta , MemoryKind , OpTy , Projectable , Scalar ,
@@ -126,7 +127,9 @@ impl<'tcx> crate::MirPass<'tcx> for GVN {
126
127
// Clone dominators because we need them while mutating the body.
127
128
let dominators = body. basic_blocks . dominators ( ) . clone ( ) ;
128
129
129
- let mut state = VnState :: new ( tcx, body, typing_env, & ssa, dominators, & body. local_decls ) ;
130
+ let arena = DroplessArena :: default ( ) ;
131
+ let mut state =
132
+ VnState :: new ( tcx, body, typing_env, & ssa, dominators, & body. local_decls , & arena) ;
130
133
131
134
for local in body. args_iter ( ) . filter ( |& local| ssa. is_ssa ( local) ) {
132
135
let opaque = state. new_opaque ( body. local_decls [ local] . ty ) ;
@@ -160,8 +163,8 @@ enum AddressKind {
160
163
Address ( RawPtrKind ) ,
161
164
}
162
165
163
- #[ derive( Debug , PartialEq , Eq , Hash ) ]
164
- enum Value < ' tcx > {
166
+ #[ derive( Copy , Clone , Debug , PartialEq , Eq , Hash ) ]
167
+ enum Value < ' a , ' tcx > {
165
168
// Root values.
166
169
/// Used to represent values we know nothing about.
167
170
/// The `usize` is a counter incremented by `new_opaque`.
@@ -176,7 +179,7 @@ enum Value<'tcx> {
176
179
} ,
177
180
/// An aggregate value, either tuple/closure/struct/enum.
178
181
/// This does not contain unions, as we cannot reason with the value.
179
- Aggregate ( VariantIdx , Vec < VnIndex > ) ,
182
+ Aggregate ( VariantIdx , & ' a [ VnIndex ] ) ,
180
183
/// A raw pointer aggregate built from a thin pointer and metadata.
181
184
RawPtr {
182
185
/// Thin pointer component. This is field 0 in MIR.
@@ -212,7 +215,7 @@ enum Value<'tcx> {
212
215
} ,
213
216
}
214
217
215
- struct VnState < ' body , ' tcx > {
218
+ struct VnState < ' body , ' a , ' tcx > {
216
219
tcx : TyCtxt < ' tcx > ,
217
220
ecx : InterpCx < ' tcx , DummyMachine > ,
218
221
local_decls : & ' body LocalDecls < ' tcx > ,
@@ -222,7 +225,7 @@ struct VnState<'body, 'tcx> {
222
225
/// Locals that are assigned that value.
223
226
// This vector does not hold all the values of `VnIndex` that we create.
224
227
rev_locals : IndexVec < VnIndex , SmallVec < [ Local ; 1 ] > > ,
225
- values : FxIndexSet < ( Value < ' tcx > , Ty < ' tcx > ) > ,
228
+ values : FxIndexSet < ( Value < ' a , ' tcx > , Ty < ' tcx > ) > ,
226
229
/// Values evaluated as constants if possible.
227
230
evaluated : IndexVec < VnIndex , Option < OpTy < ' tcx > > > ,
228
231
/// Counter to generate different values.
@@ -232,16 +235,18 @@ struct VnState<'body, 'tcx> {
232
235
ssa : & ' body SsaLocals ,
233
236
dominators : Dominators < BasicBlock > ,
234
237
reused_locals : DenseBitSet < Local > ,
238
+ arena : & ' a DroplessArena ,
235
239
}
236
240
237
- impl < ' body , ' tcx > VnState < ' body , ' tcx > {
241
+ impl < ' body , ' a , ' tcx > VnState < ' body , ' a , ' tcx > {
238
242
fn new (
239
243
tcx : TyCtxt < ' tcx > ,
240
244
body : & Body < ' tcx > ,
241
245
typing_env : ty:: TypingEnv < ' tcx > ,
242
246
ssa : & ' body SsaLocals ,
243
247
dominators : Dominators < BasicBlock > ,
244
248
local_decls : & ' body LocalDecls < ' tcx > ,
249
+ arena : & ' a DroplessArena ,
245
250
) -> Self {
246
251
// Compute a rough estimate of the number of values in the body from the number of
247
252
// statements. This is meant to reduce the number of allocations, but it's all right if
@@ -264,6 +269,7 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
264
269
ssa,
265
270
dominators,
266
271
reused_locals : DenseBitSet :: new_empty ( local_decls. len ( ) ) ,
272
+ arena,
267
273
}
268
274
}
269
275
@@ -272,7 +278,7 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
272
278
}
273
279
274
280
#[ instrument( level = "trace" , skip( self ) , ret) ]
275
- fn insert ( & mut self , ty : Ty < ' tcx > , value : Value < ' tcx > ) -> VnIndex {
281
+ fn insert ( & mut self , ty : Ty < ' tcx > , value : Value < ' a , ' tcx > ) -> VnIndex {
276
282
let ( index, new) = self . values . insert_full ( ( value, ty) ) ;
277
283
let index = VnIndex :: from_usize ( index) ;
278
284
if new {
@@ -315,8 +321,8 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
315
321
}
316
322
317
323
#[ inline]
318
- fn get ( & self , index : VnIndex ) -> & Value < ' tcx > {
319
- & self . values . get_index ( index. as_usize ( ) ) . unwrap ( ) . 0
324
+ fn get ( & self , index : VnIndex ) -> Value < ' a , ' tcx > {
325
+ self . values . get_index ( index. as_usize ( ) ) . unwrap ( ) . 0
320
326
}
321
327
322
328
#[ inline]
@@ -361,8 +367,8 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
361
367
self . insert ( ty, Value :: Constant { value, disambiguator : 0 } )
362
368
}
363
369
364
- fn insert_tuple ( & mut self , ty : Ty < ' tcx > , values : Vec < VnIndex > ) -> VnIndex {
365
- self . insert ( ty, Value :: Aggregate ( VariantIdx :: ZERO , values) )
370
+ fn insert_tuple ( & mut self , ty : Ty < ' tcx > , values : & [ VnIndex ] ) -> VnIndex {
371
+ self . insert ( ty, Value :: Aggregate ( VariantIdx :: ZERO , self . arena . alloc_slice ( values) ) )
366
372
}
367
373
368
374
fn insert_deref ( & mut self , ty : Ty < ' tcx > , value : VnIndex ) -> VnIndex {
@@ -388,7 +394,7 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
388
394
} else {
389
395
return None ;
390
396
} ;
391
- let op = match * self . get ( value) {
397
+ let op = match self . get ( value) {
392
398
_ if ty. is_zst ( ) => ImmTy :: uninit ( ty) . into ( ) ,
393
399
394
400
Opaque ( _) => return None ,
@@ -608,7 +614,7 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
608
614
if let Value :: Aggregate ( _, fields) = self . get ( value) {
609
615
return Some ( ( projection_ty, fields[ f. as_usize ( ) ] ) ) ;
610
616
} else if let Value :: Projection ( outer_value, ProjectionElem :: Downcast ( _, read_variant) ) = self . get ( value)
611
- && let Value :: Aggregate ( written_variant, fields) = self . get ( * outer_value)
617
+ && let Value :: Aggregate ( written_variant, fields) = self . get ( outer_value)
612
618
// This pass is not aware of control-flow, so we do not know whether the
613
619
// replacement we are doing is actually reachable. We could be in any arm of
614
620
// ```
@@ -633,15 +639,15 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
633
639
ProjectionElem :: Index ( idx) => {
634
640
if let Value :: Repeat ( inner, _) = self . get ( value) {
635
641
* from_non_ssa_index |= self . locals [ idx] . is_none ( ) ;
636
- return Some ( ( projection_ty, * inner) ) ;
642
+ return Some ( ( projection_ty, inner) ) ;
637
643
}
638
644
let idx = self . locals [ idx] ?;
639
645
ProjectionElem :: Index ( idx)
640
646
}
641
647
ProjectionElem :: ConstantIndex { offset, min_length, from_end } => {
642
648
match self . get ( value) {
643
649
Value :: Repeat ( inner, _) => {
644
- return Some ( ( projection_ty, * inner) ) ;
650
+ return Some ( ( projection_ty, inner) ) ;
645
651
}
646
652
Value :: Aggregate ( _, operands) => {
647
653
let offset = if from_end {
@@ -731,8 +737,8 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
731
737
let mut place_ty = PlaceTy :: from_ty ( self . local_decls [ place. local ] . ty ) ;
732
738
let mut from_non_ssa_index = false ;
733
739
for ( index, proj) in place. projection . iter ( ) . enumerate ( ) {
734
- if let Value :: Projection ( pointer, ProjectionElem :: Deref ) = * self . get ( value)
735
- && let Value :: Address { place : mut pointee, kind, .. } = * self . get ( pointer)
740
+ if let Value :: Projection ( pointer, ProjectionElem :: Deref ) = self . get ( value)
741
+ && let Value :: Address { place : mut pointee, kind, .. } = self . get ( pointer)
736
742
&& let AddressKind :: Ref ( BorrowKind :: Shared ) = kind
737
743
&& let Some ( v) = self . simplify_place_value ( & mut pointee, location)
738
744
{
@@ -749,8 +755,8 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
749
755
( place_ty, value) = self . project ( place_ty, value, proj, & mut from_non_ssa_index) ?;
750
756
}
751
757
752
- if let Value :: Projection ( pointer, ProjectionElem :: Deref ) = * self . get ( value)
753
- && let Value :: Address { place : mut pointee, kind, .. } = * self . get ( pointer)
758
+ if let Value :: Projection ( pointer, ProjectionElem :: Deref ) = self . get ( value)
759
+ && let Value :: Address { place : mut pointee, kind, .. } = self . get ( pointer)
754
760
&& let AddressKind :: Ref ( BorrowKind :: Shared ) = kind
755
761
&& let Some ( v) = self . simplify_place_value ( & mut pointee, location)
756
762
{
@@ -857,7 +863,7 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
857
863
fn simplify_discriminant ( & mut self , place : VnIndex ) -> Option < VnIndex > {
858
864
let enum_ty = self . ty ( place) ;
859
865
if enum_ty. is_enum ( )
860
- && let Value :: Aggregate ( variant, _) = * self . get ( place)
866
+ && let Value :: Aggregate ( variant, _) = self . get ( place)
861
867
{
862
868
let discr = self . ecx . discriminant_for_variant ( enum_ty, variant) . discard_err ( ) ?;
863
869
return Some ( self . insert_scalar ( discr. layout . ty , discr. to_scalar ( ) ) ) ;
@@ -893,12 +899,12 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
893
899
let Some ( & first_field) = fields. first ( ) else {
894
900
return None ;
895
901
} ;
896
- let Value :: Projection ( copy_from_value, _) = * self . get ( first_field) else {
902
+ let Value :: Projection ( copy_from_value, _) = self . get ( first_field) else {
897
903
return None ;
898
904
} ;
899
905
// All fields must correspond one-to-one and come from the same aggregate value.
900
906
if fields. iter ( ) . enumerate ( ) . any ( |( index, & v) | {
901
- if let Value :: Projection ( pointer, ProjectionElem :: Field ( from_index, _) ) = * self . get ( v)
907
+ if let Value :: Projection ( pointer, ProjectionElem :: Field ( from_index, _) ) = self . get ( v)
902
908
&& copy_from_value == pointer
903
909
&& from_index. index ( ) == index
904
910
{
@@ -910,7 +916,7 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
910
916
}
911
917
912
918
let mut copy_from_local_value = copy_from_value;
913
- if let Value :: Projection ( pointer, proj) = * self . get ( copy_from_value)
919
+ if let Value :: Projection ( pointer, proj) = self . get ( copy_from_value)
914
920
&& let ProjectionElem :: Downcast ( _, read_variant) = proj
915
921
{
916
922
if variant_index == read_variant {
@@ -968,13 +974,10 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
968
974
}
969
975
}
970
976
971
- let fields: Vec < _ > = field_ops
972
- . iter_mut ( )
973
- . map ( |op| {
974
- self . simplify_operand ( op, location)
975
- . unwrap_or_else ( || self . new_opaque ( op. ty ( self . local_decls , self . tcx ) ) )
976
- } )
977
- . collect ( ) ;
977
+ let fields = self . arena . alloc_from_iter ( field_ops. iter_mut ( ) . map ( |op| {
978
+ self . simplify_operand ( op, location)
979
+ . unwrap_or_else ( || self . new_opaque ( op. ty ( self . local_decls , self . tcx ) ) )
980
+ } ) ) ;
978
981
979
982
let variant_index = match * kind {
980
983
AggregateKind :: Array ( ..) | AggregateKind :: Tuple => {
@@ -995,12 +998,12 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
995
998
let mut was_updated = false ;
996
999
while let Value :: Cast { kind : CastKind :: PtrToPtr , value : cast_value } =
997
1000
self . get ( pointer)
998
- && let ty:: RawPtr ( from_pointee_ty, from_mtbl) = self . ty ( * cast_value) . kind ( )
1001
+ && let ty:: RawPtr ( from_pointee_ty, from_mtbl) = self . ty ( cast_value) . kind ( )
999
1002
&& let ty:: RawPtr ( _, output_mtbl) = ty. kind ( )
1000
1003
&& from_mtbl == output_mtbl
1001
1004
&& from_pointee_ty. is_sized ( self . tcx , self . typing_env ( ) )
1002
1005
{
1003
- pointer = * cast_value;
1006
+ pointer = cast_value;
1004
1007
was_updated = true ;
1005
1008
}
1006
1009
@@ -1058,9 +1061,9 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
1058
1061
// To allow things like `*mut (?A, ?T)` <-> `*mut (?B, ?T)`,
1059
1062
// it's fine to get a projection as the type.
1060
1063
Value :: Cast { kind : CastKind :: PtrToPtr , value : inner }
1061
- if self . pointers_have_same_metadata ( self . ty ( * inner) , arg_ty) =>
1064
+ if self . pointers_have_same_metadata ( self . ty ( inner) , arg_ty) =>
1062
1065
{
1063
- arg_index = * inner;
1066
+ arg_index = inner;
1064
1067
was_updated = true ;
1065
1068
continue ;
1066
1069
}
@@ -1087,15 +1090,15 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
1087
1090
}
1088
1091
1089
1092
let value = match ( op, self . get ( arg_index) ) {
1090
- ( UnOp :: Not , Value :: UnaryOp ( UnOp :: Not , inner) ) => return Some ( * inner) ,
1091
- ( UnOp :: Neg , Value :: UnaryOp ( UnOp :: Neg , inner) ) => return Some ( * inner) ,
1093
+ ( UnOp :: Not , Value :: UnaryOp ( UnOp :: Not , inner) ) => return Some ( inner) ,
1094
+ ( UnOp :: Neg , Value :: UnaryOp ( UnOp :: Neg , inner) ) => return Some ( inner) ,
1092
1095
( UnOp :: Not , Value :: BinaryOp ( BinOp :: Eq , lhs, rhs) ) => {
1093
- Value :: BinaryOp ( BinOp :: Ne , * lhs, * rhs)
1096
+ Value :: BinaryOp ( BinOp :: Ne , lhs, rhs)
1094
1097
}
1095
1098
( UnOp :: Not , Value :: BinaryOp ( BinOp :: Ne , lhs, rhs) ) => {
1096
- Value :: BinaryOp ( BinOp :: Eq , * lhs, * rhs)
1099
+ Value :: BinaryOp ( BinOp :: Eq , lhs, rhs)
1097
1100
}
1098
- ( UnOp :: PtrMetadata , Value :: RawPtr { metadata, .. } ) => return Some ( * metadata) ,
1101
+ ( UnOp :: PtrMetadata , Value :: RawPtr { metadata, .. } ) => return Some ( metadata) ,
1099
1102
// We have an unsizing cast, which assigns the length to wide pointer metadata.
1100
1103
(
1101
1104
UnOp :: PtrMetadata ,
@@ -1104,7 +1107,7 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
1104
1107
value : inner,
1105
1108
} ,
1106
1109
) if let ty:: Slice ( ..) = arg_ty. builtin_deref ( true ) . unwrap ( ) . kind ( )
1107
- && let ty:: Array ( _, len) = self . ty ( * inner) . builtin_deref ( true ) . unwrap ( ) . kind ( ) =>
1110
+ && let ty:: Array ( _, len) = self . ty ( inner) . builtin_deref ( true ) . unwrap ( ) . kind ( ) =>
1108
1111
{
1109
1112
return Some ( self . insert_constant ( Const :: Ty ( self . tcx . types . usize , * len) ) ) ;
1110
1113
}
@@ -1137,12 +1140,12 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
1137
1140
&& lhs_ty. is_any_ptr ( )
1138
1141
&& let Value :: Cast { kind : CastKind :: PtrToPtr , value : lhs_value } = self . get ( lhs)
1139
1142
&& let Value :: Cast { kind : CastKind :: PtrToPtr , value : rhs_value } = self . get ( rhs)
1140
- && let lhs_from = self . ty ( * lhs_value)
1141
- && lhs_from == self . ty ( * rhs_value)
1143
+ && let lhs_from = self . ty ( lhs_value)
1144
+ && lhs_from == self . ty ( rhs_value)
1142
1145
&& self . pointers_have_same_metadata ( lhs_from, lhs_ty)
1143
1146
{
1144
- lhs = * lhs_value;
1145
- rhs = * rhs_value;
1147
+ lhs = lhs_value;
1148
+ rhs = rhs_value;
1146
1149
if let Some ( lhs_op) = self . try_as_operand ( lhs, location)
1147
1150
&& let Some ( rhs_op) = self . try_as_operand ( rhs, location)
1148
1151
{
@@ -1276,7 +1279,7 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
1276
1279
if op. is_overflowing ( ) {
1277
1280
let ty = Ty :: new_tup ( self . tcx , & [ self . ty ( result) , self . tcx . types . bool ] ) ;
1278
1281
let false_val = self . insert_bool ( false ) ;
1279
- Some ( self . insert_tuple ( ty, vec ! [ result, false_val] ) )
1282
+ Some ( self . insert_tuple ( ty, & [ result, false_val] ) )
1280
1283
} else {
1281
1284
Some ( result)
1282
1285
}
@@ -1329,11 +1332,11 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
1329
1332
&& let ty:: RawPtr ( to_pointee, _) = to. kind ( )
1330
1333
&& to_pointee. is_sized ( self . tcx , self . typing_env ( ) )
1331
1334
{
1332
- from = self . ty ( * pointer) ;
1333
- value = * pointer;
1335
+ from = self . ty ( pointer) ;
1336
+ value = pointer;
1334
1337
was_updated_this_iteration = true ;
1335
1338
if from == to {
1336
- return Some ( * pointer) ;
1339
+ return Some ( pointer) ;
1337
1340
}
1338
1341
}
1339
1342
@@ -1342,7 +1345,7 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
1342
1345
if let Transmute = kind
1343
1346
&& let Value :: Aggregate ( variant_idx, field_values) = self . get ( value)
1344
1347
&& let Some ( ( field_idx, field_ty) ) =
1345
- self . value_is_all_in_one_field ( from, * variant_idx)
1348
+ self . value_is_all_in_one_field ( from, variant_idx)
1346
1349
{
1347
1350
from = field_ty;
1348
1351
value = field_values[ field_idx. as_usize ( ) ] ;
@@ -1353,7 +1356,7 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
1353
1356
}
1354
1357
1355
1358
// Various cast-then-cast cases can be simplified.
1356
- if let Value :: Cast { kind : inner_kind, value : inner_value } = * self . get ( value) {
1359
+ if let Value :: Cast { kind : inner_kind, value : inner_value } = self . get ( value) {
1357
1360
let inner_from = self . ty ( inner_value) ;
1358
1361
let new_kind = match ( inner_kind, kind) {
1359
1362
// Even if there's a narrowing cast in here that's fine, because
@@ -1427,7 +1430,7 @@ impl<'body, 'tcx> VnState<'body, 'tcx> {
1427
1430
// We have an unsizing cast, which assigns the length to wide pointer metadata.
1428
1431
if let Value :: Cast { kind, value : from } = self . get ( inner)
1429
1432
&& let CastKind :: PointerCoercion ( ty:: adjustment:: PointerCoercion :: Unsize , _) = kind
1430
- && let Some ( from) = self . ty ( * from) . builtin_deref ( true )
1433
+ && let Some ( from) = self . ty ( from) . builtin_deref ( true )
1431
1434
&& let ty:: Array ( _, len) = from. kind ( )
1432
1435
&& let Some ( to) = self . ty ( inner) . builtin_deref ( true )
1433
1436
&& let ty:: Slice ( ..) = to. kind ( )
@@ -1585,7 +1588,7 @@ fn op_to_prop_const<'tcx>(
1585
1588
None
1586
1589
}
1587
1590
1588
- impl < ' tcx > VnState < ' _ , ' tcx > {
1591
+ impl < ' tcx > VnState < ' _ , ' _ , ' tcx > {
1589
1592
/// If either [`Self::try_as_constant`] as [`Self::try_as_place`] succeeds,
1590
1593
/// returns that result as an [`Operand`].
1591
1594
fn try_as_operand ( & mut self , index : VnIndex , location : Location ) -> Option < Operand < ' tcx > > {
@@ -1604,7 +1607,7 @@ impl<'tcx> VnState<'_, 'tcx> {
1604
1607
// This was already constant in MIR, do not change it. If the constant is not
1605
1608
// deterministic, adding an additional mention of it in MIR will not give the same value as
1606
1609
// the former mention.
1607
- if let Value :: Constant { value, disambiguator : 0 } = * self . get ( index) {
1610
+ if let Value :: Constant { value, disambiguator : 0 } = self . get ( index) {
1608
1611
debug_assert ! ( value. is_deterministic( ) ) ;
1609
1612
return Some ( ConstOperand { span : DUMMY_SP , user_ty : None , const_ : value } ) ;
1610
1613
}
@@ -1643,7 +1646,7 @@ impl<'tcx> VnState<'_, 'tcx> {
1643
1646
let place =
1644
1647
Place { local, projection : self . tcx . mk_place_elems ( projection. as_slice ( ) ) } ;
1645
1648
return Some ( place) ;
1646
- } else if let Value :: Projection ( pointer, proj) = * self . get ( index)
1649
+ } else if let Value :: Projection ( pointer, proj) = self . get ( index)
1647
1650
&& ( allow_complex_projection || proj. is_stable_offset ( ) )
1648
1651
&& let Some ( proj) = self . try_as_place_elem ( self . ty ( index) , proj, loc)
1649
1652
{
@@ -1666,7 +1669,7 @@ impl<'tcx> VnState<'_, 'tcx> {
1666
1669
}
1667
1670
}
1668
1671
1669
- impl < ' tcx > MutVisitor < ' tcx > for VnState < ' _ , ' tcx > {
1672
+ impl < ' tcx > MutVisitor < ' tcx > for VnState < ' _ , ' _ , ' tcx > {
1670
1673
fn tcx ( & self ) -> TyCtxt < ' tcx > {
1671
1674
self . tcx
1672
1675
}
0 commit comments