File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -999,10 +999,6 @@ struct TargetMetadata {
999
999
swift_runtime_unreachable (" Unhandled MetadataKind in switch." );
1000
1000
}
1001
1001
1002
- // / Get the generic metadata pattern from which this generic type instance was
1003
- // / instantiated, or null if the type is not generic.
1004
- const TargetGenericMetadata<Runtime> *getGenericPattern () const ;
1005
-
1006
1002
// / Get the class object for this type if it has one, or return null if the
1007
1003
// / type is not a class (or not a class with a class object).
1008
1004
const TargetClassMetadata<Runtime> *getClassObject () const ;
Original file line number Diff line number Diff line change @@ -2420,13 +2420,6 @@ swift::swift_getForeignTypeMetadata(ForeignTypeMetadata *nonUnique) {
2420
2420
/* ** Other metadata routines ***********************************************/
2421
2421
/* **************************************************************************/
2422
2422
2423
- template <> const GenericMetadata *
2424
- Metadata::getGenericPattern () const {
2425
- if (const auto *ntd = getNominalTypeDescriptor ())
2426
- return ntd->getGenericMetadataPattern ();
2427
- return nullptr ;
2428
- }
2429
-
2430
2423
template <> const ClassMetadata *
2431
2424
Metadata::getClassObject () const {
2432
2425
switch (getKind ()) {
You can’t perform that action at this time.
0 commit comments