projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09a2ffe
)
Use bitwise AND.
author
Devang Patel
<dpatel@apple.com>
Tue, 2 Sep 2008 21:46:44 +0000
(21:46 +0000)
committer
Devang Patel
<dpatel@apple.com>
Tue, 2 Sep 2008 21:46:44 +0000
(21:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55656
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/AsmWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/AsmWriter.cpp
b/lib/VMCore/AsmWriter.cpp
index 05c37a48656edec45e811d5ac0b27250cdce2fe2..724b34f460e80dd2462e8fc2f453b10a78138e18 100644
(file)
--- a/
lib/VMCore/AsmWriter.cpp
+++ b/
lib/VMCore/AsmWriter.cpp
@@
-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 << ")";
}