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

@@ -462,8 +462,6 @@ namespace decls_block {
using SILFunctionTypeLayout = BCRecordLayout<
SIL_FUNCTION_TYPE,
TypeIDField, // result type
ResultConventionField, // result convention
TypeIDField, // interface result type
ResultConventionField, // interface result convention
DeclIDField, // decl that owns the generic params
@@ -473,7 +471,6 @@ namespace decls_block {
BCFixed<1>, // noreturn?
BCFixed<30>, // number of generic parameters
BCArray<TypeIDField> // parameter types and conventions, alternating
// followed by interface types and conventions
// followed by generic parameter types
// Trailed by its generic requirements, if any.
// Trailed by its generic parameters, if the owning decl ID is 0.