File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
compiler/rustc_mir_transform/src/inline Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1- use rustc_data_structures:: fx:: { FxHashMap , FxHashSet } ;
2- use rustc_data_structures:: sso:: SsoHashSet ;
1+ use rustc_data_structures:: fx:: { FxHashMap , FxHashSet , FxIndexSet } ;
32use rustc_data_structures:: stack:: ensure_sufficient_stack;
43use rustc_hir:: def_id:: { DefId , LocalDefId } ;
54use rustc_middle:: mir:: TerminatorKind ;
@@ -153,7 +152,7 @@ crate fn mir_inliner_callees<'tcx>(
153152 // Functions from other crates and MIR shims
154153 _ => tcx. instance_mir ( instance) ,
155154 } ;
156- let mut calls = SsoHashSet :: new ( ) ;
155+ let mut calls = FxIndexSet :: default ( ) ;
157156 for bb_data in body. basic_blocks ( ) {
158157 let terminator = bb_data. terminator ( ) ;
159158 if let TerminatorKind :: Call { func, .. } = & terminator. kind {
You can’t perform that action at this time.
0 commit comments