Skip to content

Commit df0f1ac

Browse files
committed
[sil-generic-specializer] Fix a copy&paste error
1 parent 84d90ab commit df0f1ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SILOptimizer/Utils/Generics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ ReabstractionInfo::ReabstractionInfo(ApplySite Apply, SILFunction *Callee,
312312

313313
SILFunction *Caller = nullptr;
314314
if (Apply)
315-
Caller = Apply.getCalleeFunction();
315+
Caller = Apply.getFunction();
316316

317317
if (!EnablePartialSpecialization || !HasUnboundGenericParams) {
318318
// Fast path for full specializations.

0 commit comments

Comments
 (0)