projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[MC/AsmParser] Avoid setting MCSymbol.IsUsed in some cases
[oota-llvm.git]
/
include
/
llvm
/
MC
/
MCSymbol.h
diff --git
a/include/llvm/MC/MCSymbol.h
b/include/llvm/MC/MCSymbol.h
index a48a09e6a75b871b0133afb5c2dd98cbe577b3db..563fa803b0e4b2bc1f30d41891babae3585f1727 100644
(file)
--- a/
include/llvm/MC/MCSymbol.h
+++ b/
include/llvm/MC/MCSymbol.h
@@
-223,7
+223,7
@@
public:
/// isUsed - Check if this is used.
bool isUsed() const { return IsUsed; }
/// isUsed - Check if this is used.
bool isUsed() const { return IsUsed; }
- void setUsed(bool Value) const { IsUsed = Value; }
+ void setUsed(bool Value) const { IsUsed
|
= Value; }
/// \brief Check if this symbol is redefinable.
bool isRedefinable() const { return IsRedefinable; }
/// \brief Check if this symbol is redefinable.
bool isRedefinable() const { return IsRedefinable; }