[llvm-commits] [llvm] r55717 - /llvm/trunk/lib/Transforms/IPO/InlineSimple.cpp
Devang Patel
dpatel at apple.com
Wed Sep 3 12:57:16 PDT 2008
Author: dpatel
Date: Wed Sep 3 14:57:15 2008
New Revision: 55717
URL: http://llvm.org/viewvc/llvm-project?rev=55717&view=rev
Log:
Add parentheses to make code more readable.
Modified:
llvm/trunk/lib/Transforms/IPO/InlineSimple.cpp
Modified: llvm/trunk/lib/Transforms/IPO/InlineSimple.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/InlineSimple.cpp?rev=55717&r1=55716&r2=55717&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/InlineSimple.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/InlineSimple.cpp Wed Sep 3 14:57:15 2008
@@ -65,7 +65,7 @@
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
More information about the llvm-commits
mailing list