mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Verify SILSelf parameter type when we create the function in SILModule::getOrCreateFunction instead of moving it into the verifier.
This allows me to remove the map I added to SILModule. Swift SVN r27242
This commit is contained in:
@@ -455,7 +455,3 @@ ArrayRef<Substitution> SILFunction::getForwardingSubstitutions() {
|
||||
return {};
|
||||
return params->getForwardingSubstitutions(getASTContext());
|
||||
}
|
||||
|
||||
llvm::Optional<SILDeclRef> SILFunction::getDeclRef() const {
|
||||
return getModule().lookUpDeclRef(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user