projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f557536
)
DwarfUnit: Remove some misleading no-op code introduced in r204162.
author
David Blaikie
<dblaikie@gmail.com>
Mon, 26 May 2014 05:32:21 +0000
(
05:32
+0000)
committer
David Blaikie
<dblaikie@gmail.com>
Mon, 26 May 2014 05:32:21 +0000
(
05:32
+0000)
Post commit review feedback from Manman called this out, but it looks
like it slipped through the cracks.
llvm-svn: 209611
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
index
8382990
..
8d8c618
100644
(file)
--- a/
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
+++ b/
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
@@
-1377,10
+1377,6
@@
DIE *DwarfUnit::getOrCreateSubprogramDIE(DISubprogram SP) {
DIScope Context = resolve(SP.getContext());
DIE *ContextDIE = getOrCreateContextDIE(Context);
- // Unique declarations based on the ODR, where applicable.
- SP = DISubprogram(DD->resolve(SP.getRef()));
- assert(SP.Verify());
-
if (DIE *SPDie = getDIE(SP))
return SPDie;