llvm.org GIT mirror llvm / a849108
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 Benjamin Kramer 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
121121 unsigned DIE::getDebugSectionOffset() const {
122122 const DIEUnit *Unit = getUnit();
123123 assert(Unit && "DIE must be owned by a DIEUnit to get its absolute offset");
124 return getUnit()->getDebugSectionOffset() + getOffset();
124 return Unit->getDebugSectionOffset() + getOffset();
125125 }
126126
127127 const DIE *DIE::getUnitDie() const {