Remove unnecessary Resolver argument from SILType::isSuperclassOf since SILTypes are only used after type checking.

Thanks Joe!

Swift SVN r15759
This commit is contained in:
Michael Gottesman
2014-04-01 22:55:43 +00:00
parent 62520658f5
commit 2dcc1e7a8e
3 changed files with 7 additions and 7 deletions

View File

@@ -314,7 +314,7 @@ public:
}
/// Return true if Ty is a subtype of this SILType, or null otherwise.
bool isSuperclassOf(SILType Ty, LazyResolver *resolver) const {
bool isSuperclassOf(SILType Ty) const {
return getSwiftRValueType()->isSuperclassOf(Ty.getSwiftRValueType(),
nullptr);
}