diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-05-07 12:12:31 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-05-09 17:59:35 +0000 |
| commit | c17e878fb86bd65b1148e7b08cbb465d396596a2 (patch) | |
| tree | 070fed57986dd02e55ce86cdb0948839c3da9619 | |
| parent | a67bf08ed79936fdf9b06d2c8d22fbeb60e55505 (diff) | |
| download | rust-c17e878fb86bd65b1148e7b08cbb465d396596a2.tar.gz rust-c17e878fb86bd65b1148e7b08cbb465d396596a2.zip | |
Correct StorageLive comment.
| -rw-r--r-- | compiler/rustc_mir_transform/src/ssa.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_mir_transform/src/ssa.rs b/compiler/rustc_mir_transform/src/ssa.rs index 5633adf673e..05a7b226f0c 100644 --- a/compiler/rustc_mir_transform/src/ssa.rs +++ b/compiler/rustc_mir_transform/src/ssa.rs @@ -302,8 +302,7 @@ fn compute_copy_classes(ssa: &mut SsaVisitor, body: &Body<'_>) -> IndexVec<Local #[derive(Debug)] pub(crate) struct StorageLiveLocals { - /// Set of "StorageLive" statements for each local. When the "StorageLive" statement does not - /// dominate all address-taking uses of the local, we mark it as `Set1::Many`. + /// Set of "StorageLive" statements for each local. storage_live: IndexVec<Local, Set1<LocationExtended>>, } |
