Skip to content

Commit c4c91e2

Browse files
authored
Merge pull request swiftlang#36482 from slavapestov/gencall-unused-var
IRGen: Remove unused variable
2 parents c9037a7 + 6d7714a commit c4c91e2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/IRGen/GenCall.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ AsyncContextLayout::AsyncContextLayout(
209209
SILType errorType, bool canHaveValidError)
210210
: StructLayout(IGM, /*decl=*/nullptr, LayoutKind::NonHeapObject, strategy,
211211
fieldTypeInfos, /*typeToFill*/ nullptr),
212-
IGM(IGM), originalType(originalType), substitutedType(substitutedType),
212+
originalType(originalType), substitutedType(substitutedType),
213213
substitutionMap(substitutionMap), errorType(errorType),
214214
canHaveValidError(canHaveValidError) {
215215
#ifndef NDEBUG

lib/IRGen/GenCall.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ namespace irgen {
9393
ResumeParentExecutor = 1,
9494
Error = 1,
9595
};
96-
IRGenModule &IGM;
9796
CanSILFunctionType originalType;
9897
CanSILFunctionType substitutedType;
9998
SubstitutionMap substitutionMap;

0 commit comments

Comments
 (0)