mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Down with _even more_ statics!
llvm-svn: 74137
This commit is contained in:
parent
6572371340
commit
e194f62a43
@ -126,7 +126,6 @@ void DIE::Profile(FoldingSetNodeID &ID) {
|
||||
|
||||
#ifndef NDEBUG
|
||||
void DIE::print(std::ostream &O, unsigned IncIndent) {
|
||||
static unsigned IndentCount = 0;
|
||||
IndentCount += IncIndent;
|
||||
const std::string Indent(IndentCount, ' ');
|
||||
bool isBlock = Abbrev.getTag() == 0;
|
||||
|
@ -141,9 +141,13 @@ namespace llvm {
|
||||
|
||||
/// Abstract compile unit.
|
||||
CompileUnit *AbstractCU;
|
||||
|
||||
// Private data for print()
|
||||
mutable unsigned IndentCount;
|
||||
public:
|
||||
explicit DIE(unsigned Tag)
|
||||
: Abbrev(Tag, dwarf::DW_CHILDREN_no), Offset(0), Size(0) {}
|
||||
: Abbrev(Tag, dwarf::DW_CHILDREN_no), Offset(0),
|
||||
Size(0), IndentCount(0) {}
|
||||
virtual ~DIE();
|
||||
|
||||
// Accessors.
|
||||
|
Loading…
Reference in New Issue
Block a user