Rollup merge of #99022 - pierwill:always-storage-live-locals, r=pierwill
MIR dataflow: Rename function to `always_storage_live_locals` Related to #99021. r? ```@JakobDegen``` (as discussed on Zulip)
This commit is contained in:
commit
416dc43124
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