Skip to content

Commit 6d7714a

Browse files
committed
IRGen: Remove unused variable
1 parent 891e053 commit 6d7714a

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
@@ -198,7 +198,7 @@ AsyncContextLayout::AsyncContextLayout(
198198
SILType errorType, bool canHaveValidError)
199199
: StructLayout(IGM, /*decl=*/nullptr, LayoutKind::NonHeapObject, strategy,
200200
fieldTypeInfos, /*typeToFill*/ nullptr),
201-
IGM(IGM), originalType(originalType), substitutedType(substitutedType),
201+
originalType(originalType), substitutedType(substitutedType),
202202
substitutionMap(substitutionMap), errorType(errorType),
203203
canHaveValidError(canHaveValidError) {
204204
#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)