From 36975b8b6fa5a477452f0174d3361c3564786ef9 Mon Sep 17 00:00:00 2001 From: Chris Fallin Date: Sat, 19 Jun 2021 11:34:05 -0700 Subject: [PATCH] Add doc-comment note on Edit that stack-to-stack moves are never generated. --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 3a6ecb4..92dd1f5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -892,7 +892,8 @@ impl ProgPoint { #[derive(Clone, Debug)] pub enum Edit { /// Move one allocation to another. Each allocation may be a - /// register or a stack slot (spillslot). + /// register or a stack slot (spillslot). However, stack-to-stack + /// moves will never be generated. /// /// `to_vreg`, if defined, is useful as metadata: it indicates /// that the moved value is a def of a new vreg.