[noinline attribute] add noinline attribute.

Propagate it to SILFunction and use it in PerformanceInliner. We also serialize
and parse the attribute.

rdar://15882816


Swift SVN r19150
This commit is contained in:
Manman Ren
2014-06-24 23:07:45 +00:00
parent b1bfbf8ceb
commit 7667b829bb
23 changed files with 92 additions and 18 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 = 106;
const uint16_t VERSION_MINOR = 107;
using DeclID = Fixnum<31>;
using DeclIDField = BCFixed<31>;
@@ -727,6 +727,7 @@ namespace decls_block {
BCFixed<1>, // mutating?
BCFixed<1>, // has dynamic self?
BCFixed<1>, // optional?
BCFixed<1>, // noinline?
BCVBR<5>, // number of parameter patterns
TypeIDField, // type (signature)
TypeIDField, // interface type