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 {
290
290
// / %lifetime. In detail, PrunedLiveness::isWithinBoundary relies on
291
291
// / clients to know that instructions are after the start of liveness. We
292
292
// / determine this via the dominance tree.
293
- bool findBorroweeUsage (Context &, BorroweeUsage &);
293
+ bool findBorroweeUsage (Context const &, BorroweeUsage &);
294
294
295
295
// / Sift scope ends of %lifetime for those that CAN be folded.
296
296
class FilterCandidates final {
@@ -616,7 +616,7 @@ bool FilterCandidates::run(Candidates &candidates) {
616
616
return anyViable;
617
617
}
618
618
619
- bool findBorroweeUsage (Context &context, BorroweeUsage &usage) {
619
+ bool findBorroweeUsage (Context const &context, BorroweeUsage &usage) {
620
620
auto recordUse = [&](Operand *use) {
621
621
// Ignore uses that aren't dominated by the introducer. PrunedLiveness
622
622
// relies on us doing this check.
You can’t perform that action at this time.
0 commit comments