summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DIE.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-06-10 20:58:53 +0000
committerEric Christopher <echristo@gmail.com>2013-06-10 20:58:53 +0000
commitb7e3b42c019d14e72807101f23c8ed0139a116c0 (patch)
tree8098974909fd52d356d24c5202c711f204b46c99 /llvm/lib/CodeGen/AsmPrinter/DIE.h
parent896b32f9352103f8a4a7ff9acc608b77f6ddb2ba (diff)
downloadbcm5719-llvm-b7e3b42c019d14e72807101f23c8ed0139a116c0.tar.gz
bcm5719-llvm-b7e3b42c019d14e72807101f23c8ed0139a116c0.zip
IndentCount is only used within NDEBUG code.
llvm-svn: 183695
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DIE.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DIE.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIE.h b/llvm/lib/CodeGen/AsmPrinter/DIE.h
index 19a6bd9beac..27c17fcc163 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DIE.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DIE.h
@@ -135,8 +135,10 @@ namespace llvm {
///
SmallVector<DIEValue*, 12> Values;
+#ifndef NDEBUG
// Private data for print()
mutable unsigned IndentCount;
+#endif
public:
explicit DIE(unsigned Tag)
: Offset(0), Size(0), Abbrev(Tag, dwarf::DW_CHILDREN_no), Parent(0) {}
OpenPOWER on IntegriCloud