DwarfCompileUnit: Remove unnecessary OwningPtr<T>::get() call

llvm-svn: 194901
This commit is contained in:
David Blaikie 2013-11-16 00:28:15 +00:00
parent 68cc3f13c2
commit eb0338feb1
1 changed files with 1 additions and 1 deletions

View File

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