1
0
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:
Benjamin Kramer 2016-12-01 19:10:10 +00:00
parent 7fcd86cce5
commit b5f6149fa0

View File

@ -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 {