aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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
commitd32d7a541ad874c8951d5348abe7d40d841db9c9 (patch)
tree0a02e99f80ab1b54580369d28fb30d1903058807 /lib
parente5609f37323b105c7720d5d423a9203d1e869c29 (diff)
downloadexternal_llvm-d32d7a541ad874c8951d5348abe7d40d841db9c9.zip
external_llvm-d32d7a541ad874c8951d5348abe7d40d841db9c9.tar.gz
external_llvm-d32d7a541ad874c8951d5348abe7d40d841db9c9.tar.bz2
IndentCount is only used within NDEBUG code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183695 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/AsmPrinter/DIE.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DIE.h b/lib/CodeGen/AsmPrinter/DIE.h
index 19a6bd9..27c17fc 100644
--- a/lib/CodeGen/AsmPrinter/DIE.h
+++ b/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) {}