mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +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,9 +616,9 @@ static const MCSymbol *getBaseSymbol(const MCAsmLayout &Layout,
|
||||
void ELFObjectWriter::WriteSymbol(SymbolTableWriter &Writer, ELFSymbolData &MSD,
|
||||
const MCAsmLayout &Layout) {
|
||||
MCSymbolData &OrigData = *MSD.SymbolData;
|
||||
assert(!OrigData.getFragment() ||
|
||||
assert((!OrigData.getFragment() ||
|
||||
(&OrigData.getFragment()->getParent()->getSection() ==
|
||||
&OrigData.getSymbol().getSection()) &&
|
||||
&OrigData.getSymbol().getSection())) &&
|
||||
"The symbol's section doesn't match the fragment's symbol");
|
||||
const MCSymbol *Base = getBaseSymbol(Layout, OrigData.getSymbol());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user