From 33624191afee63657cfbc68be041299060ee59d2 Mon Sep 17 00:00:00 2001
From: Davide Italiano <davide@freebsd.org>
Date: Sun, 25 Oct 2015 19:13:36 +0000
Subject: [PATCH] [ScalarEvolution] Get rid of NDEBUG in header.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251249 91177308-0d34-0410-b5e6-96231b3b80d8
---
 include/llvm/Analysis/ScalarEvolution.h | 6 ------
 lib/Analysis/ScalarEvolution.cpp        | 7 -------
 2 files changed, 13 deletions(-)

diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h
index 0413b6849bd..f85d328e1c8 100644
--- a/include/llvm/Analysis/ScalarEvolution.h
+++ b/include/llvm/Analysis/ScalarEvolution.h
@@ -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
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp
index 007fb65d69e..38f57fc1a0d 100644
--- a/lib/Analysis/ScalarEvolution.cpp
+++ b/lib/Analysis/ScalarEvolution.cpp
@@ -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:
-- 
2.34.1