diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-12-01 19:10:10 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-12-01 19:10:10 +0000 |
commit | 6a8704c1c0fee0b1394339b28b0c247098ec0276 (patch) | |
tree | d714efdfcf67cbc3832004cc3dcd6b1b80dde842 /llvm/lib/CodeGen | |
parent | 9676d5ed59564b1468263a6469381fb5350b559e (diff) | |
download | bcm5719-llvm-6a8704c1c0fee0b1394339b28b0c247098ec0276.tar.gz bcm5719-llvm-6a8704c1c0fee0b1394339b28b0c247098ec0276.zip |
Fix unused variable warning in Release builds. NFC.
llvm-svn: 288401
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DIE.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp index 6e9834a7cf0..ef1e41f4e3d 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp @@ -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 { |