summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-04-08 15:48:02 +0000
committerDevang Patel <dpatel@apple.com>2010-04-08 15:48:02 +0000
commit2abed283e57fd5487c9b1549c3ea3ff459d24668 (patch)
tree62b98b25bc7225157b2bcc9acf158a77e6ab01ee /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parentf41ccef5eb1915c74518715607a32b3b52d57371 (diff)
downloadbcm5719-llvm-2abed283e57fd5487c9b1549c3ea3ff459d24668.tar.gz
bcm5719-llvm-2abed283e57fd5487c9b1549c3ea3ff459d24668.zip
Remove dead code.
llvm-svn: 100771
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index ecc539791e1..8d190372d6a 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1920,11 +1920,6 @@ void DwarfDebug::endModule() {
addUInt(ISP, dwarf::DW_AT_inline, 0, dwarf::DW_INL_inlined);
}
- // Insert top level DIEs.
- for (SmallVector<DIE *, 4>::iterator TI = TopLevelDIEsVector.begin(),
- TE = TopLevelDIEsVector.end(); TI != TE; ++TI)
- ModuleCU->getCUDie()->addChild(*TI);
-
for (DenseMap<DIE *, MDNode *>::iterator CI = ContainingTypeMap.begin(),
CE = ContainingTypeMap.end(); CI != CE; ++CI) {
DIE *SPDie = CI->first;
OpenPOWER on IntegriCloud