[ScalarEvolution] Get rid of NDEBUG in header.
authorDavide Italiano <davide@freebsd.org>
Sun, 25 Oct 2015 19:13:36 +0000 (19:13 +0000)
committerDavide Italiano <davide@freebsd.org>
Sun, 25 Oct 2015 19:13:36 +0000 (19:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251249 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/ScalarEvolution.h
lib/Analysis/ScalarEvolution.cpp

index 0413b68..f85d328 100644 (file)
@@ -127,12 +127,6 @@ namespace llvm {
     /// Print out the internal representation of this scalar to the specified
     /// stream.  This should really only be used for debugging purposes.
     void print(raw_ostream &OS) const;
-
-#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
-    /// This method is used for debugging.
-    ///
-    void dump() const;
-#endif
   };
 
   // Specialize FoldingSetTrait for SCEV to avoid needing to compute
index 007fb65..38f57fc 100644 (file)
@@ -123,13 +123,6 @@ VerifySCEV("verify-scev",
 // Implementation of the SCEV class.
 //
 
-#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
-void SCEV::dump() const {
-  print(dbgs());
-  dbgs() << '\n';
-}
-#endif
-
 void SCEV::print(raw_ostream &OS) const {
   switch (static_cast<SCEVTypes>(getSCEVType())) {
   case scConstant: