mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Add parens to appease GCC warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206678 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2033057de8
commit
428d601bd3
@ -616,10 +616,10 @@ static const MCSymbol *getBaseSymbol(const MCAsmLayout &Layout,
|
||||
void ELFObjectWriter::WriteSymbol(SymbolTableWriter &Writer, ELFSymbolData &MSD,
|
||||
const MCAsmLayout &Layout) {
|
||||
MCSymbolData &OrigData = *MSD.SymbolData;
|
||||
assert(!OrigData.getFragment() ||
|
||||
(&OrigData.getFragment()->getParent()->getSection() ==
|
||||
&OrigData.getSymbol().getSection()) &&
|
||||
"The symbol's section doesn't match the fragment's symbol");
|
||||
assert((!OrigData.getFragment() ||
|
||||
(&OrigData.getFragment()->getParent()->getSection() ==
|
||||
&OrigData.getSymbol().getSection())) &&
|
||||
"The symbol's section doesn't match the fragment's symbol");
|
||||
const MCSymbol *Base = getBaseSymbol(Layout, OrigData.getSymbol());
|
||||
|
||||
// This has to be in sync with when computeSymbolTable uses SHN_ABS or
|
||||
|
Loading…
Reference in New Issue
Block a user