[de]serialize the noescape bit in SILFunctionType's as well. Tests coming in a bit.

Swift SVN r24138
This commit is contained in:
Chris Lattner
2014-12-24 00:48:44 +00:00
parent 42207c0a21
commit 3564ce6429
3 changed files with 7 additions and 6 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 = 163; // Last change: noescape
const uint16_t VERSION_MINOR = 164; // Last change: silfntype noescape
using DeclID = Fixnum<31>;
using DeclIDField = BCFixed<31>;
@@ -606,6 +606,7 @@ namespace decls_block {
BCFixed<1>, // thin?
BCFixed<1>, // block?
BCFixed<1>, // noreturn?
BCFixed<1>, // noescape?
BCFixed<30>, // number of generic parameters
BCArray<TypeIDField> // parameter types and conventions, alternating
// followed by generic parameter types