Add parentheses to make code more readable.
authorDevang Patel <dpatel@apple.com>
Wed, 3 Sep 2008 19:57:15 +0000 (19:57 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 3 Sep 2008 19:57:15 +0000 (19:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55717 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/InlineSimple.cpp

index bb7065f81db0a3a8f89b9799add41535b06269be..8bc256392f2fc7585dc646964c5ddddf3ee4d037 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->isDeclaration() && I->getNotes() & FN_NOTE_NoInline)
+    if (!I->isDeclaration() && (I->getNotes() & FN_NOTE_NoInline))
       NeverInline.insert(I);
 
   // Get llvm.noinline