[LAA] Fix estimation of number of memchecks
[oota-llvm.git] / include / llvm / Analysis / DominanceFrontier.h
index 3623cc5a5caf831df5d3ffb01fe1287a1c41c968..996700efdb60003ddaa6c565877a5723b2baaa88 100644 (file)
@@ -102,7 +102,9 @@ public:
   void print(raw_ostream &OS) const;
 
   /// dump - Dump the dominance frontier to dbgs().
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
   void dump() const;
+#endif
 };
 
 //===-------------------------------------
@@ -137,7 +139,7 @@ class DominanceFrontier : public FunctionPass {
 public:
   typedef DominatorTreeBase<BasicBlock> DomTreeT;
   typedef DomTreeNodeBase<BasicBlock> DomTreeNodeT;
-  typedef typename DominanceFrontierBase<BasicBlock>::DomSetType DomSetType;
+  typedef DominanceFrontierBase<BasicBlock>::DomSetType DomSetType;
   typedef DominanceFrontierBase<BasicBlock>::iterator iterator;
   typedef DominanceFrontierBase<BasicBlock>::const_iterator const_iterator;