MIR dataflow: Rename function to always_storage_live_locals
Related to #99021.
This commit is contained in:
parent
20dd693013
commit
8a1c1ec8b2
4 changed files with 7 additions and 7 deletions
|
@ -7,7 +7,7 @@ use rustc_middle::mir::{self, Local};
|
|||
//
|
||||
// FIXME: Currently, we need to traverse the entire MIR to compute this. We should instead store it
|
||||
// as a field in the `LocalDecl` for each `Local`.
|
||||
pub fn always_live_locals(body: &mir::Body<'_>) -> BitSet<Local> {
|
||||
pub fn always_storage_live_locals(body: &mir::Body<'_>) -> BitSet<Local> {
|
||||
let mut always_live_locals = BitSet::new_filled(body.local_decls.len());
|
||||
|
||||
for block in body.basic_blocks() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue