File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
lib/SILOptimizer/FunctionSignatureTransforms Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -322,7 +322,6 @@ ExistentialTransform::createExistentialSpecializedFunctionType() {
322
322
SILModule &M = F->getModule ();
323
323
auto &Ctx = M.getASTContext ();
324
324
GenericSignature NewGenericSig;
325
- GenericEnvironment *NewGenericEnv;
326
325
327
326
// / If the original function is generic, then maintain the same.
328
327
auto OrigGenericSig = FTy->getInvocationGenericSignature ();
@@ -341,8 +340,6 @@ ExistentialTransform::createExistentialSpecializedFunctionType() {
341
340
std::move (Requirements)},
342
341
GenericSignature ());
343
342
344
- NewGenericEnv = NewGenericSig->getGenericEnvironment ();
345
-
346
343
// / Create a lambda for GenericParams.
347
344
auto getCanonicalType = [&](Type t) -> CanType {
348
345
return t->getCanonicalType (NewGenericSig);
You can’t perform that action at this time.
0 commit comments