summaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DIE.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-03-31 19:34:01 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-03-31 19:34:01 +0000
commit345ef343ccc8c4e66166ae631c127136202e067b (patch)
tree4f405f355246fc2defc86e41b6c5c24c6aafd442 /lib/CodeGen/AsmPrinter/DIE.h
parente09ccab0ce2986d1ba6950f2eccc46fd1935ae68 (diff)
downloadllvm-345ef343ccc8c4e66166ae631c127136202e067b.tar.gz
llvm-345ef343ccc8c4e66166ae631c127136202e067b.tar.bz2
llvm-345ef343ccc8c4e66166ae631c127136202e067b.tar.xz
DwarfDebug: Allocate DIEValues with a BumpPtrAllocator. Most of them are
POD-like anyway, so we don't even care about calling their d'tors (DIEBlock being the exception). ~6% less mallocs and ~1% compile time improvement on clang -O0 -g oggenc.c git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100035 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DIE.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DIE.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DIE.h b/lib/CodeGen/AsmPrinter/DIE.h
index 4ba40aa1fa..8b27ed20cb 100644
--- a/lib/CodeGen/AsmPrinter/DIE.h
+++ b/lib/CodeGen/AsmPrinter/DIE.h
@@ -174,7 +174,7 @@ namespace llvm {
/// The caller is responsible for deleting the return value at or after the
/// same time it destroys this DIE.
///
- DIEValue *addSiblingOffset();
+ DIEValue *addSiblingOffset(BumpPtrAllocator &A);
/// addChild - Add a child to the DIE.
///