Skip to content

Commit 39ad4c9

Browse files
committed
Fix a spelling error. Calleee -> Callee. NFC.
Swift SVN r27173
1 parent 762d1d9 commit 39ad4c9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/SILPasses/Utils/Devirtualize.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ bool swift::isClassWithUnboundGenericParameters(SILType C, SILModule &M) {
8989
// Try to propagate them to find out the real substitutions required
9090
// to invoke the method.
9191
static ArrayRef<Substitution>
92-
getSubstitutionsForCalleee(SILModule &M, CanSILFunctionType GenCalleeType,
93-
SILType ClassInstanceType, ApplyInst *AI) {
92+
getSubstitutionsForCallee(SILModule &M, CanSILFunctionType GenCalleeType,
93+
SILType ClassInstanceType, ApplyInst *AI) {
9494
// *NOTE*:
9595
// Apply instruction substitutions are for the Member from a protocol or
9696
// class B, where this member was first defined, before it got overridden by
@@ -251,8 +251,8 @@ bool swift::canDevirtualizeClassMethod(ApplyInst *AI,
251251

252252
CanSILFunctionType GenCalleeType = F->getLoweredFunctionType();
253253

254-
auto Subs = getSubstitutionsForCalleee(Mod, GenCalleeType,
255-
ClassOrMetatypeType, AI);
254+
auto Subs = getSubstitutionsForCallee(Mod, GenCalleeType,
255+
ClassOrMetatypeType, AI);
256256

257257
// For polymorphic functions, bail if the number of substitutions is
258258
// not the same as the number of expected generic parameters.
@@ -301,8 +301,8 @@ SILInstruction *swift::devirtualizeClassMethod(ApplyInst *AI,
301301

302302
CanSILFunctionType GenCalleeType = F->getLoweredFunctionType();
303303

304-
auto Subs = getSubstitutionsForCalleee(Mod, GenCalleeType,
305-
ClassOrMetatypeType, AI);
304+
auto Subs = getSubstitutionsForCallee(Mod, GenCalleeType,
305+
ClassOrMetatypeType, AI);
306306
auto SubstCalleeType =
307307
GenCalleeType->substGenericArgs(Mod, Mod.getSwiftModule(), Subs);
308308

0 commit comments

Comments
 (0)