Parsing support for error results from SILFunctionType.

Swift SVN r26566
This commit is contained in:
John McCall
2015-03-26 00:01:32 +00:00
parent 6f43e545fb
commit 35b7db3ae1
29 changed files with 433 additions and 125 deletions

View File

@@ -51,7 +51,7 @@ const uint16_t VERSION_MAJOR = 0;
/// To ensure that two separate changes don't silently get merged into one
/// in source control, you should also update the comment to briefly
/// describe what change you made.
const uint16_t VERSION_MINOR = 185; // Last change: remove transparent on apply
const uint16_t VERSION_MINOR = 186; // Last change: SIL error results
using DeclID = Fixnum<31>;
using DeclIDField = BCFixed<31>;
@@ -663,6 +663,8 @@ namespace decls_block {
SIL_FUNCTION_TYPE,
TypeIDField, // interface result type
ResultConventionField, // interface result convention
TypeIDField, // interface error result type
ResultConventionField, // interface error result convention
ParameterConventionField, // callee convention
AbstractCCField, // calling convention
BCFixed<1>, // thin?