[llvm] r183695 - IndentCount is only used within NDEBUG code.

Eric Christopher echristo at gmail.com
Mon Jun 10 13:58:53 PDT 2013


Author: echristo
Date: Mon Jun 10 15:58:53 2013
New Revision: 183695

URL: http://llvm.org/viewvc/llvm-project?rev=183695&view=rev
Log:
IndentCount is only used within NDEBUG code.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/DIE.h

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DIE.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DIE.h?rev=183695&r1=183694&r2=183695&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DIE.h (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DIE.h Mon Jun 10 15:58:53 2013
@@ -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) {}





More information about the llvm-commits mailing list