[llvm-commits] [dragonegg] r164734 - /dragonegg/trunk/src/Backend.cpp
Bill Wendling
isanbard at gmail.com
Wed Sep 26 16:25:01 PDT 2012
Author: void
Date: Wed Sep 26 18:25:01 2012
New Revision: 164734
URL: http://llvm.org/viewvc/llvm-project?rev=164734&view=rev
Log:
Convert to the new method call to check attributes.
Modified:
dragonegg/trunk/src/Backend.cpp
Modified: dragonegg/trunk/src/Backend.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Backend.cpp?rev=164734&r1=164733&r2=164734&view=diff
==============================================================================
--- dragonegg/trunk/src/Backend.cpp (original)
+++ dragonegg/trunk/src/Backend.cpp Wed Sep 26 18:25:01 2012
@@ -705,7 +705,7 @@
// TODO: Consider letting the GCC inliner do this.
for (Module::iterator I = TheModule->begin(), E = TheModule->end();
I != E; ++I)
- if (I->hasFnAttr(Attribute::AlwaysInline)) {
+ if (I->getFnAttributes().hasAlwaysInlineAttr()) {
NeedAlwaysInliner = true;
break;
}
More information about the llvm-commits
mailing list