mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 07:31:47 +00:00
Fix unused variable warning in Release builds. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288401 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
20e1df9682
commit
a849108a3e
@ -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