[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 0413b6849bdb1ed9b184fc6f123e0884cdd0c030..f85d328e1c8664209a07ecca62ff399ce7bee4dd 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;
     /// 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
   };
 
   // Specialize FoldingSetTrait for SCEV to avoid needing to compute
index 007fb65d69ebba12c8116ccddcf65bee5d0964a5..38f57fc1a0d1414ecde6298d5ae910539087d1d0 100644 (file)
@@ -123,13 +123,6 @@ VerifySCEV("verify-scev",
 // Implementation of the SCEV class.
 //
 
 // 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:
 void SCEV::print(raw_ostream &OS) const {
   switch (static_cast<SCEVTypes>(getSCEVType())) {
   case scConstant: