We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b9007b + e5e2699 commit 89e6aa3Copy full SHA for 89e6aa3
compiler/rustc_mir_transform/src/patch.rs
@@ -1,4 +1,4 @@
1
-use rustc_data_structures::fx::FxHashMap;
+use rustc_data_structures::sso::SsoHashMap;
2
use rustc_index::Idx;
3
use rustc_middle::mir::*;
4
use rustc_middle::ty::Ty;
@@ -10,7 +10,7 @@ use tracing::debug;
10
/// and replacement of terminators, and then apply the queued changes all at
11
/// once with `apply`. This is useful for MIR transformation passes.
12
pub(crate) struct MirPatch<'tcx> {
13
- term_patch_map: FxHashMap<BasicBlock, TerminatorKind<'tcx>>,
+ term_patch_map: SsoHashMap<BasicBlock, TerminatorKind<'tcx>>,
14
new_blocks: Vec<BasicBlockData<'tcx>>,
15
new_statements: Vec<(Location, StatementKind<'tcx>)>,
16
new_locals: Vec<LocalDecl<'tcx>>,
0 commit comments