mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-28 06:29:45 +00:00
Reorganize some member variables and update a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192017 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
72dd4cd1dd
commit
af76b1601c
@ -86,6 +86,12 @@ class CompileUnit {
|
|||||||
/// corresponds to the MDNode mapped with the subprogram DIE.
|
/// corresponds to the MDNode mapped with the subprogram DIE.
|
||||||
DenseMap<DIE *, const MDNode *> ContainingTypeMap;
|
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:
|
public:
|
||||||
CompileUnit(unsigned UID, DIE *D, const MDNode *N, AsmPrinter *A,
|
CompileUnit(unsigned UID, DIE *D, const MDNode *N, AsmPrinter *A,
|
||||||
DwarfDebug *DW, DwarfUnits *DWU);
|
DwarfDebug *DW, DwarfUnits *DWU);
|
||||||
@ -357,12 +363,6 @@ private:
|
|||||||
template <typename T> T resolve(DIRef<T> Ref) const {
|
template <typename T> T resolve(DIRef<T> Ref) const {
|
||||||
return DD->resolve(Ref);
|
return DD->resolve(Ref);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
// DIEValueAllocator - All DIEValues are allocated through this allocator.
|
|
||||||
BumpPtrAllocator DIEValueAllocator;
|
|
||||||
DIEInteger *DIEIntegerOne;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // end llvm namespace
|
} // end llvm namespace
|
||||||
|
Loading…
Reference in New Issue
Block a user