diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-02-05 12:08:42 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-02-05 12:08:42 +0000 |
| commit | 8e05ab04e54f2531198bb61c32ad2232d682a63c (patch) | |
| tree | 49b3a1d580aede5372672bde86aafab7b9b47088 /compiler/rustc_mir_dataflow | |
| parent | 42c95146294c7773ca03e91e945fd545c6ce1ba2 (diff) | |
| download | rust-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.rs | 2 |
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>, } |
