Skip to content

Commit 25abbac

Browse files
committed
Drop an obstructive const qualifier.
1 parent 6e12fff commit 25abbac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SIL/IR/SILArgument.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ TermInst *SILPhiArgument::getTerminatorForResult() const {
341341
return nullptr;
342342
}
343343

344-
const Operand *SILArgument::forwardedTerminatorResultOperand() const {
344+
Operand *SILArgument::forwardedTerminatorResultOperand() const {
345345
assert(isTerminatorResult() && "API is invalid for phis");
346346
return getSingleTerminator()->forwardedOperand();
347347
}

0 commit comments

Comments
 (0)