unstick r164761

Revision 164761

Date:
2012/09/27 07:00:16
Author:
void
Revision Log:
Convert to the new attribute query format.
Files:

Legend:

 
Added
 
Removed
 
Modified
  • llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp

     
    826 826 // functions that are marked as always_inline.
    827 827 for (Module::iterator I = TheModule->begin(), E = TheModule->end();
    828 828 I != E; ++I)
    829 if (I->hasFnAttr(Attribute::AlwaysInline)) {
    829 if (I->getFnAttributes().hasAlwaysInlineAttr()) {
    830 830 NeedAlwaysInliner = true;
    831 831 break;
    832 832 }