Use bitwise AND.

llvm-svn: 55656
This commit is contained in:
Devang Patel 2008-09-02 21:46:44 +00:00
parent ceb3ca94b7
commit 805b37ca43
1 changed files with 2 additions and 2 deletions

View File

@ -1398,9 +1398,9 @@ void AssemblyWriter::printFunction(const Function *F) {
FunctionNotes FNotes = F->getNotes();
if (FNotes != FP_None) {
Out << " notes(";
if (FNotes && FP_AlwaysInline)
if (FNotes & FP_AlwaysInline)
Out << "inline=always";
else if (FNotes && FP_NoInline)
else if (FNotes & FP_NoInline)
Out << "inline=never";
Out << ")";
}