mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 22:04:55 +00:00
DwarfCompileUnit: Remove unnecessary OwningPtr<T>::get() call
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194901 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e553feab84
commit
21c9708c09
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user