[Lldb-commits] [lldb] r184901 - Remove ifdef LLDB_CONFIGURATION_DEBUG directives around the formatter

Jason Molenda jmolenda at apple.com
Tue Jun 25 18:51:04 PDT 2013


Author: jmolenda
Date: Tue Jun 25 20:51:03 2013
New Revision: 184901

URL: http://llvm.org/viewvc/llvm-project?rev=184901&view=rev
Log:
Remove ifdef LLDB_CONFIGURATION_DEBUG directives around the formatter
cache ivars/methods.

Modified:
    lldb/trunk/include/lldb/DataFormatters/FormatCache.h

Modified: lldb/trunk/include/lldb/DataFormatters/FormatCache.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/DataFormatters/FormatCache.h?rev=184901&r1=184900&r2=184901&view=diff
==============================================================================
--- lldb/trunk/include/lldb/DataFormatters/FormatCache.h (original)
+++ lldb/trunk/include/lldb/DataFormatters/FormatCache.h Tue Jun 25 20:51:03 2013
@@ -60,10 +60,8 @@ private:
     CacheMap m_map;
     Mutex m_mutex;
     
-#ifdef LLDB_CONFIGURATION_DEBUG
     uint64_t m_cache_hits;
     uint64_t m_cache_misses;
-#endif
     
     Entry&
     GetEntry (const ConstString& type);
@@ -86,7 +84,6 @@ public:
     void
     Clear ();
     
-#ifdef LLDB_CONFIGURATION_DEBUG
     uint64_t
     GetCacheHits ()
     {
@@ -98,7 +95,6 @@ public:
     {
         return m_cache_misses;
     }
-#endif
 };
 } // namespace lldb_private
 





More information about the lldb-commits mailing list