X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=include%2Fllvm%2FMC%2FMCSymbol.h;h=563fa803b0e4b2bc1f30d41891babae3585f1727;hp=a48a09e6a75b871b0133afb5c2dd98cbe577b3db;hb=ae65a7a88e8cf63c9ad01e1483181cb7e7bf6f55;hpb=6997c3ae842fac2c3ae97bed5ea28d1021b04e18;ds=sidebyside diff --git a/include/llvm/MC/MCSymbol.h b/include/llvm/MC/MCSymbol.h index a48a09e6a75..563fa803b0e 100644 --- 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; } - 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; }