diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2024-06-27 14:51:58 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2024-07-13 11:54:25 +0000 |
| commit | 76f5bc6a9ffcd0b3255b5266cc963635a12f6016 (patch) | |
| tree | ebc537fd2d61f3198eb3a656d24a84c192a16c76 /compiler/rustc_mir_transform/src/jump_threading.rs | |
| parent | 44fb8575dee0c1f2d454962ae78b09817a0f32b1 (diff) | |
| download | rust-76f5bc6a9ffcd0b3255b5266cc963635a12f6016.tar.gz rust-76f5bc6a9ffcd0b3255b5266cc963635a12f6016.zip | |
Create mapped places upon seeing them in the body.
Diffstat (limited to 'compiler/rustc_mir_transform/src/jump_threading.rs')
| -rw-r--r-- | compiler/rustc_mir_transform/src/jump_threading.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_transform/src/jump_threading.rs b/compiler/rustc_mir_transform/src/jump_threading.rs index 97ec0cb39de..2100f4b4a1a 100644 --- a/compiler/rustc_mir_transform/src/jump_threading.rs +++ b/compiler/rustc_mir_transform/src/jump_threading.rs @@ -123,7 +123,7 @@ struct TOFinder<'tcx, 'a> { param_env: ty::ParamEnv<'tcx>, ecx: InterpCx<'tcx, DummyMachine>, body: &'a Body<'tcx>, - map: &'a Map, + map: &'a Map<'tcx>, loop_headers: &'a BitSet<BasicBlock>, /// We use an arena to avoid cloning the slices when cloning `state`. arena: &'a DroplessArena, |
