@@ -183,7 +183,7 @@ class SILArgument : public ValueBase {
183
183
184
184
// / Return the terminator instruction for which this argument is a result,
185
185
// / otherwise return nullptr.
186
- TermInst *getTerminatorForResultArg () const ;
186
+ TermInst *getTerminatorForResult () const ;
187
187
188
188
// / Return the SILArgumentKind of this argument.
189
189
SILArgumentKind getKind () const {
@@ -299,7 +299,7 @@ class SILPhiArgument : public SILArgument {
299
299
300
300
// / Return the terminator instruction for which this argument is a result,
301
301
// / otherwise return nullptr.
302
- TermInst *getTerminatorForResultArg () const ;
302
+ TermInst *getTerminatorForResult () const ;
303
303
304
304
static bool classof (const SILInstruction *) = delete;
305
305
static bool classof (const SILUndef *) = delete;
@@ -445,10 +445,10 @@ inline TermInst *SILArgument::getSingleTerminator() const {
445
445
llvm_unreachable (" Covered switch is not covered?!" );
446
446
}
447
447
448
- inline TermInst *SILArgument::getTerminatorForResultArg () const {
448
+ inline TermInst *SILArgument::getTerminatorForResult () const {
449
449
switch (getKind ()) {
450
450
case SILArgumentKind::SILPhiArgument:
451
- return cast<SILPhiArgument>(this )->getTerminatorForResultArg ();
451
+ return cast<SILPhiArgument>(this )->getTerminatorForResult ();
452
452
case SILArgumentKind::SILFunctionArgument:
453
453
return nullptr ;
454
454
}
0 commit comments