mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user