Skip to content

Commit 63bdb4a

Browse files
committed
[Gardening] Fixed variable name.
In SILGen, it's an SGM not an IGM.
1 parent 99a36b3 commit 63bdb4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/SILGen/SILGen.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -715,11 +715,11 @@ SILFunction *SILGenModule::getFunction(SILDeclRef constant,
715715

716716
// Note: Do not provide any SILLocation. You can set it afterwards.
717717
SILGenFunctionBuilder builder(*this);
718-
auto &IGM = *this;
718+
auto &SGM = *this;
719719
auto *F = builder.getOrCreateFunction(
720720
getBestLocation(constant), constant, forDefinition,
721-
[&IGM](SILLocation loc, SILDeclRef constant) -> SILFunction * {
722-
return IGM.getFunction(constant, NotForDefinition);
721+
[&SGM](SILLocation loc, SILDeclRef constant) -> SILFunction * {
722+
return SGM.getFunction(constant, NotForDefinition);
723723
});
724724

725725
assert(F && "SILFunction should have been defined");

0 commit comments

Comments
 (0)