Skip to content

Commit ed8c4d0

Browse files
author
Kosuke Ogawa
committed
[Gardening] Fix typo: silModue -> silModule
1 parent c114f93 commit ed8c4d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/IRGen/LoadableByAddress.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,7 @@ void LoadableStorageAllocation::convertIndirectFunctionArgs() {
11341134
}
11351135

11361136
void LoadableStorageAllocation::convertApplyResults() {
1137-
auto &silModue = pass.F->getModule();
1137+
auto &silModule = pass.F->getModule();
11381138
for (auto &BB : *pass.F) {
11391139
for (auto &II : BB) {
11401140
auto *currIns = ⅈ
@@ -1145,10 +1145,10 @@ void LoadableStorageAllocation::convertApplyResults() {
11451145
SILFunctionType *origSILFunctionType = applySite.getSubstCalleeType();
11461146
auto canSILFunctionType = CanSILFunctionType(origSILFunctionType);
11471147
Lowering::GenericContextScope GenericScope(
1148-
silModue.Types, canSILFunctionType->getGenericSignature());
1148+
silModule.Types, canSILFunctionType->getGenericSignature());
11491149
GenericEnvironment *genEnv = nullptr;
11501150
if (origSILFunctionType->isPolymorphic()) {
1151-
genEnv = getGenericEnvironment(silModue, canSILFunctionType);
1151+
genEnv = getGenericEnvironment(silModule, canSILFunctionType);
11521152
}
11531153
if (!modResultType(genEnv, canSILFunctionType, pass.Mod)) {
11541154
continue;

0 commit comments

Comments
 (0)