[@semantics] add SemanticsAttr to SILFunction.

Enable SIL parsing and SIL serialization of semantics.

We add one more field to SILFunctionLayout for semantics. We should refactor
handling of attributes at SIL level, right now they are in SILFunction as bool
or std::string and in SIL serializer as a 1-bit field or an ID field.

rdar://17525564


Swift SVN r19434
This commit is contained in:
Manman Ren
2014-07-01 22:49:46 +00:00
parent 7dae30f755
commit ae9f2e25ae
15 changed files with 81 additions and 16 deletions

View File

@@ -40,7 +40,7 @@ const uint16_t VERSION_MAJOR = 0;
/// Serialized module format minor version number.
///
/// When the format changes IN ANY WAY, this number should be incremented.
const uint16_t VERSION_MINOR = 109;
const uint16_t VERSION_MINOR = 110;
using DeclID = Fixnum<31>;
using DeclIDField = BCFixed<31>;