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:
Michael Gottesman
2015-04-12 22:39:11 +00:00
parent 75ea31dba9
commit 8762675eb7
5 changed files with 39 additions and 79 deletions

View File

@@ -455,7 +455,3 @@ ArrayRef<Substitution> SILFunction::getForwardingSubstitutions() {
return {};
return params->getForwardingSubstitutions(getASTContext());
}
llvm::Optional<SILDeclRef> SILFunction::getDeclRef() const {
return getModule().lookUpDeclRef(this);
}