summary refs log tree commit diff
path: root/compiler/rustc_mir_dataflow
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-02-05 12:08:42 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-02-05 12:08:42 +0000
commit8e05ab04e54f2531198bb61c32ad2232d682a63c (patch)
tree49b3a1d580aede5372672bde86aafab7b9b47088 /compiler/rustc_mir_dataflow
parent42c95146294c7773ca03e91e945fd545c6ce1ba2 (diff)
downloadrust-8e05ab04e54f2531198bb61c32ad2232d682a63c.tar.gz
rust-8e05ab04e54f2531198bb61c32ad2232d682a63c.zip
Run SROA to fixpoint.
Diffstat (limited to 'compiler/rustc_mir_dataflow')
-rw-r--r--compiler/rustc_mir_dataflow/src/value_analysis.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_dataflow/src/value_analysis.rs b/compiler/rustc_mir_dataflow/src/value_analysis.rs
index 90d07c81256..8bf6493be4b 100644
--- a/compiler/rustc_mir_dataflow/src/value_analysis.rs
+++ b/compiler/rustc_mir_dataflow/src/value_analysis.rs
@@ -824,7 +824,7 @@ pub fn iter_fields<'tcx>(
 }
 
 /// Returns all locals with projections that have their reference or address taken.
-fn excluded_locals(body: &Body<'_>) -> IndexVec<Local, bool> {
+pub fn excluded_locals(body: &Body<'_>) -> IndexVec<Local, bool> {
     struct Collector {
         result: IndexVec<Local, bool>,
     }