IndentCount is only used within NDEBUG code.
authorEric Christopher <echristo@gmail.com>
Mon, 10 Jun 2013 20:58:53 +0000 (20:58 +0000)
committerEric Christopher <echristo@gmail.com>
Mon, 10 Jun 2013 20:58:53 +0000 (20:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183695 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DIE.h

index 19a6bd9beacf5b884466f5535f81a22d4e8dadc8..27c17fcc163b5ec3cf2ff98af0822c7117cc46b7 100644 (file)
@@ -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) {}