mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-22 10:24:26 +00:00
Avoid warning about unused variable when building without assertions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241348 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -254,8 +254,8 @@ protected:
|
||||
DRI.d.b = 0;
|
||||
return DRI;
|
||||
}
|
||||
uint32_t Type = SymTable->sh_type;
|
||||
assert(Type == ELF::SHT_SYMTAB || Type == ELF::SHT_DYNSYM);
|
||||
assert(SymTable->sh_type == ELF::SHT_SYMTAB ||
|
||||
SymTable->sh_type == ELF::SHT_DYNSYM);
|
||||
|
||||
uintptr_t SHT = reinterpret_cast<uintptr_t>(EF.section_begin());
|
||||
unsigned SymTableIndex =
|
||||
|
Reference in New Issue
Block a user