projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03a1852
)
Tidy up.
author
Jim Grosbach
<grosbach@apple.com>
Tue, 20 Mar 2012 21:33:17 +0000
(21:33 +0000)
committer
Jim 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
patch
|
blob
|
history
diff --git
a/lib/MC/MCSymbol.cpp
b/lib/MC/MCSymbol.cpp
index c2fad1674aa4308e769ae6db771771ea1db3d34a..87b58d7a533242b3317d757c311b67a08ed5271f 100644
(file)
--- a/
lib/MC/MCSymbol.cpp
+++ b/
lib/MC/MCSymbol.cpp
@@
-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 {