File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ struct BorroweeUsage final {
290290// / %lifetime. In detail, PrunedLiveness::isWithinBoundary relies on
291291// / clients to know that instructions are after the start of liveness. We
292292// / determine this via the dominance tree.
293- bool findBorroweeUsage (Context &, BorroweeUsage &);
293+ bool findBorroweeUsage (Context const &, BorroweeUsage &);
294294
295295// / Sift scope ends of %lifetime for those that CAN be folded.
296296class FilterCandidates final {
@@ -616,7 +616,7 @@ bool FilterCandidates::run(Candidates &candidates) {
616616 return anyViable;
617617}
618618
619- bool findBorroweeUsage (Context &context, BorroweeUsage &usage) {
619+ bool findBorroweeUsage (Context const &context, BorroweeUsage &usage) {
620620 auto recordUse = [&](Operand *use) {
621621 // Ignore uses that aren't dominated by the introducer. PrunedLiveness
622622 // relies on us doing this check.
You can’t perform that action at this time.
0 commit comments