Use parameter attribute store (soon to be renamed) for
[oota-llvm.git] / lib / Transforms / IPO / InlineSimple.cpp
index 6fb695dc18e330d6bb5d2b7b9712cd47558b3e97..6db4c908b772afd676798c6d0759f12f3f499f97 100644 (file)
@@ -65,7 +65,7 @@ bool SimpleInliner::doInitialization(CallGraph &CG) {
   
   for (Module::iterator I = M.begin(), E = M.end();
        I != E; ++I)
-    if (I->hasNote(FN_NOTE_NoInline))
+    if (I->hasNote(ParamAttr::FN_NOTE_NoInline))
       NeverInline.insert(I);
 
   // Get llvm.noinline