mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
remove (now unused) TypeLowering::isValid()
This commit is contained in:
@@ -41,8 +41,6 @@ getFullyReferenceableStruct(SILType Ty) {
|
||||
}
|
||||
|
||||
static unsigned getNumSubElements(SILType T, SILModule &M) {
|
||||
if (!M.getTypeLowering(T).isValid())
|
||||
return 0;
|
||||
|
||||
if (auto TT = T.getAs<TupleType>()) {
|
||||
unsigned NumElements = 0;
|
||||
|
||||
Reference in New Issue
Block a user