We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 06eb90e + 0d45977 commit b538d5aCopy full SHA for b538d5a
compiler/rustc_mir_dataflow/src/storage.rs
@@ -4,9 +4,6 @@ use rustc_middle::mir::{self, Local};
4
/// The set of locals in a MIR body that do not have `StorageLive`/`StorageDead` annotations.
5
///
6
/// These locals have fixed storage for the duration of the body.
7
-//
8
-// FIXME: Currently, we need to traverse the entire MIR to compute this. We should instead store it
9
-// as a field in the `LocalDecl` for each `Local`.
10
pub fn always_storage_live_locals(body: &mir::Body<'_>) -> BitSet<Local> {
11
let mut always_live_locals = BitSet::new_filled(body.local_decls.len());
12
0 commit comments