mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 16:36:40 +00:00
Tidy up.
llvm-svn: 153136
This commit is contained in:
parent
4dfb298aac
commit
3f98400327
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user