X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=lib%2FTransforms%2FIPO%2FAlwaysInliner.cpp;h=07138718ce2cdcebcc23dc907da1dd98325f9ed6;hb=788bdbbd5c99d805a2992689b1c5bad255da131c;hp=3b735ddd192e25e8654dd3442d8d86b8783be21c;hpb=4e7dc16e1cfa1156f9f12085d743a118861e8349;p=android-x86%2Fexternal-llvm.git diff --git a/lib/Transforms/IPO/AlwaysInliner.cpp b/lib/Transforms/IPO/AlwaysInliner.cpp index 3b735ddd192..07138718ce2 100644 --- a/lib/Transforms/IPO/AlwaysInliner.cpp +++ b/lib/Transforms/IPO/AlwaysInliner.cpp @@ -150,7 +150,7 @@ InlineCost AlwaysInlinerLegacyPass::getInlineCost(CallSite CS) { // declarations. if (Callee && !Callee->isDeclaration() && CS.hasFnAttr(Attribute::AlwaysInline) && isInlineViable(*Callee)) - return InlineCost::getAlways(); + return InlineCost::getAlways("always inliner"); - return InlineCost::getNever(); + return InlineCost::getNever("always inliner"); }