llvm-svn: 153136
This commit is contained in:
Jim Grosbach 2012-03-20 21:33:17 +00:00
parent 759b1d169f
commit 765a6e0231
1 changed files with 2 additions and 3 deletions

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 {