remove (now unused) TypeLowering::isValid()

This commit is contained in:
Daniel Duan
2016-02-10 16:15:40 -08:00
parent 9203f204bd
commit c5f9fc170c
2 changed files with 0 additions and 8 deletions

View File

@@ -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;