llvm-svn: 153136
This commit is contained in:
Jim Grosbach 2012-03-20 21:33:17 +00:00
parent 4dfb298aac
commit 3f98400327

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 {