From fe3ad0e6319cadcbe0dfdb360421029086c300f5 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 29 Nov 2022 15:55:21 -0800 Subject: Update comment in OptimizeAddedConstants.cpp (#5283) --- src/passes/OptimizeAddedConstants.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/passes/OptimizeAddedConstants.cpp b/src/passes/OptimizeAddedConstants.cpp index aadff5112..1bf7c7e9e 100644 --- a/src/passes/OptimizeAddedConstants.cpp +++ b/src/passes/OptimizeAddedConstants.cpp @@ -189,9 +189,9 @@ private: // y = y + 1 // load(x) // - // This example should not be optimized into + // This example should *not* be optimized into // - // load(x, offset=10) + // load(y, offset=10) // // If the other side is a get, we may be able to prove that we can just // use that same local, if both it and the pointer are in SSA form. In -- cgit v1.2.3