diff options
author | Eric Christopher <echristo@gmail.com> | 2013-10-05 00:39:55 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-10-05 00:39:55 +0000 |
commit | 3264a48a458d54d8745a19d07c6b623b77ba1e72 (patch) | |
tree | 6a9e88a8b539413291b0df56f1136925531a2376 /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | |
parent | 87b9c49c72377f889f86418a8233577683878c29 (diff) | |
download | bcm5719-llvm-3264a48a458d54d8745a19d07c6b623b77ba1e72.tar.gz bcm5719-llvm-3264a48a458d54d8745a19d07c6b623b77ba1e72.zip |
Reorganize some member variables and update a comment.
llvm-svn: 192017
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index 1c67f6b249e..b9ccf95bb12 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -86,6 +86,12 @@ class CompileUnit { /// corresponds to the MDNode mapped with the subprogram DIE. DenseMap<DIE *, const MDNode *> ContainingTypeMap; + // DIEValueAllocator - All DIEValues are allocated through this allocator. + BumpPtrAllocator DIEValueAllocator; + + // DIEIntegerOne - A preallocated DIEValue because 1 is used frequently. + DIEInteger *DIEIntegerOne; + public: CompileUnit(unsigned UID, DIE *D, const MDNode *N, AsmPrinter *A, DwarfDebug *DW, DwarfUnits *DWU); @@ -357,12 +363,6 @@ private: template <typename T> T resolve(DIRef<T> Ref) const { return DD->resolve(Ref); } - -private: - - // DIEValueAllocator - All DIEValues are allocated through this allocator. - BumpPtrAllocator DIEValueAllocator; - DIEInteger *DIEIntegerOne; }; } // end llvm namespace |