OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e553fea
)
DwarfCompileUnit: Remove unnecessary OwningPtr<T>::get() call
author
David Blaikie
<dblaikie@gmail.com>
Sat, 16 Nov 2013 00:28:15 +0000
(
00:28
+0000)
committer
David Blaikie
<dblaikie@gmail.com>
Sat, 16 Nov 2013 00:28:15 +0000
(
00:28
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194901
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
index
c85d7b2
..
d5eb8f3
100644
(file)
--- 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.