mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Fix unused variable warning in Release builds. NFC.
llvm-svn: 288401
This commit is contained in:
parent
7fcd86cce5
commit
b5f6149fa0
@ -122,7 +122,7 @@ DIEAbbrev DIE::generateAbbrev() const {
|
||||
unsigned DIE::getDebugSectionOffset() const {
|
||||
const DIEUnit *Unit = getUnit();
|
||||
assert(Unit && "DIE must be owned by a DIEUnit to get its absolute offset");
|
||||
return getUnit()->getDebugSectionOffset() + getOffset();
|
||||
return Unit->getDebugSectionOffset() + getOffset();
|
||||
}
|
||||
|
||||
const DIE *DIE::getUnitDie() const {
|
||||
|
Loading…
Reference in New Issue
Block a user