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 @@ -5104,7 +5104,6 @@ void IRGenModule::emitOpaqueTypeDecl(OpaqueTypeDecl *D) {
5104
5104
bool irgen::methodRequiresReifiedVTableEntry (IRGenModule &IGM,
5105
5105
const SILVTable *vtable,
5106
5106
SILDeclRef method) {
5107
- auto &M = IGM.getSILModule ();
5108
5107
auto entry = vtable->getEntry (IGM.getSILModule (), method);
5109
5108
if (!entry) {
5110
5109
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