diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-11-16 00:28:15 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-11-16 00:28:15 +0000 |
commit | 21c9708c0909a4373d04f0910ab0cb05b94f25ef (patch) | |
tree | a0674e0ec87d7f0a724cd62e4800da3fcec9fccb /lib/CodeGen | |
parent | e553feab843a82e35b81e20ebc736f775c85db32 (diff) | |
download | external_llvm-21c9708c0909a4373d04f0910ab0cb05b94f25ef.zip external_llvm-21c9708c0909a4373d04f0910ab0cb05b94f25ef.tar.gz external_llvm-21c9708c0909a4373d04f0910ab0cb05b94f25ef.tar.bz2 |
DwarfCompileUnit: Remove unnecessary OwningPtr<T>::get() call
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194901 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp index c85d7b2..d5eb8f3 100644 --- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp @@ -1591,7 +1591,7 @@ void CompileUnit::createGlobalVariableDIE(const MDNode *N) { if (GVContext && GV.isDefinition() && !GVContext.isCompileUnit() && !GVContext.isFile() && !DD->isSubprogramContext(GVContext)) { // Create specification DIE. - VariableSpecDIE = createAndAddDIE(dwarf::DW_TAG_variable, *CUDie.get()); + VariableSpecDIE = createAndAddDIE(dwarf::DW_TAG_variable, *CUDie); addDIEEntry(VariableSpecDIE, dwarf::DW_AT_specification, VariableDIE); addBlock(VariableSpecDIE, dwarf::DW_AT_location, Block); // A static member's declaration is already flagged as such. |