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 } ;
3
2
use rustc_data_structures:: stack:: ensure_sufficient_stack;
4
3
use rustc_hir:: def_id:: { DefId , LocalDefId } ;
5
4
use rustc_middle:: mir:: TerminatorKind ;
@@ -153,7 +152,7 @@ crate fn mir_inliner_callees<'tcx>(
153
152
// Functions from other crates and MIR shims
154
153
_ => tcx. instance_mir ( instance) ,
155
154
} ;
156
- let mut calls = SsoHashSet :: new ( ) ;
155
+ let mut calls = FxIndexSet :: default ( ) ;
157
156
for bb_data in body. basic_blocks ( ) {
158
157
let terminator = bb_data. terminator ( ) ;
159
158
if let TerminatorKind :: Call { func, .. } = & terminator. kind {
You can’t perform that action at this time.
0 commit comments