We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99a36b3 commit 63bdb4aCopy full SHA for 63bdb4a
lib/SILGen/SILGen.cpp
@@ -715,11 +715,11 @@ SILFunction *SILGenModule::getFunction(SILDeclRef constant,
715
716
// Note: Do not provide any SILLocation. You can set it afterwards.
717
SILGenFunctionBuilder builder(*this);
718
- auto &IGM = *this;
+ auto &SGM = *this;
719
auto *F = builder.getOrCreateFunction(
720
getBestLocation(constant), constant, forDefinition,
721
- [&IGM](SILLocation loc, SILDeclRef constant) -> SILFunction * {
722
- return IGM.getFunction(constant, NotForDefinition);
+ [&SGM](SILLocation loc, SILDeclRef constant) -> SILFunction * {
+ return SGM.getFunction(constant, NotForDefinition);
723
});
724
725
assert(F && "SILFunction should have been defined");
0 commit comments