[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

@@ -221,6 +221,7 @@ void SILSerializer::writeSILFunction(const SILFunction &F, bool DeclOnly) {
toStableSILLinkage(F.getLinkage()),
(unsigned)F.isTransparent(),
(unsigned)F.isGlobalInit(),
(unsigned)F.isNoinline(),
FnID);
if (DeclOnly || F.isAvailableExternally() || F.isExternalDeclaration())