git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153136 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2012-03-20 21:33:17 +00:00
parent 03a1852538
commit 93a1a0dbda

View File

@ -60,11 +60,10 @@ void MCSymbol::setVariableValue(const MCExpr *Value) {
// Variables should always be marked as in the same "section" as the value.
const MCSection *Section = Value->FindAssociatedSection();
if (Section) {
if (Section)
setSection(*Section);
} else {
else
setUndefined();
}
}
void MCSymbol::print(raw_ostream &OS) const {