mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 14:40:25 +00:00
Use bitwise AND.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55656 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
09a2ffef0f
commit
1b47e48a64
@ -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 << ")";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user