File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -5101,7 +5101,6 @@ void IRGenModule::emitOpaqueTypeDecl(OpaqueTypeDecl *D) {
5101
5101
bool irgen::methodRequiresReifiedVTableEntry (IRGenModule &IGM,
5102
5102
const SILVTable *vtable,
5103
5103
SILDeclRef method) {
5104
- auto &M = IGM.getSILModule ();
5105
5104
auto entry = vtable->getEntry (IGM.getSILModule (), method);
5106
5105
if (!entry) {
5107
5106
return true ;
Original file line number Diff line number Diff line change @@ -2226,8 +2226,6 @@ irgen::emitCanonicalSpecializedGenericTypeMetadataAccessFunction(
2226
2226
}
2227
2227
Type superclassType = theType->getSuperclass (/* useArchetypes=*/ false );
2228
2228
if (superclassType) {
2229
- auto superclass = superclassType->getCanonicalType ();
2230
- auto *superclassNominal = superclass->getAnyNominal ();
2231
2229
emitIdempotentCanonicalSpecializedClassMetadataInitializationComponent (
2232
2230
IGF, superclassType->getCanonicalType (), initializedTypes);
2233
2231
}
You can’t perform that action at this time.
0 commit comments