Tidy up.
authorJim Grosbach <grosbach@apple.com>
Tue, 20 Mar 2012 21:33:17 +0000 (21:33 +0000)
committerJim Grosbach <grosbach@apple.com>
Tue, 20 Mar 2012 21:33:17 +0000 (21:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153136 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MCSymbol.cpp

index c2fad1674aa4308e769ae6db771771ea1db3d34a..87b58d7a533242b3317d757c311b67a08ed5271f 100644 (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 {