Drop the non-interface types from SILFunctionType.

There are some straggling references to the context generic param list, but nothing uses the non-interface param or result types anymore!

Swift SVN r13725
This commit is contained in:
Joe Groff
2014-02-09 22:39:01 +00:00
parent 201e1d9bf9
commit 481fbb7b91
17 changed files with 25 additions and 258 deletions

View File

@@ -307,7 +307,6 @@ void IRGenModule::emitSourceFile(SourceFile &SF, unsigned StartElem) {
auto fnTy = SILFunctionType::get(nullptr, nullptr, extInfo,
ParameterConvention::Direct_Unowned,
paramTy, retTy,
paramTy, retTy,
Context);
auto silFnTy = SILType::getPrimitiveLocalStorageType(fnTy);
DebugInfo->emitArtificialFunction(mainIGF, mainFn, silFnTy);