[llvm] r251249 - [ScalarEvolution] Get rid of NDEBUG in header.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 25 12:13:36 PDT 2015
Author: davide
Date: Sun Oct 25 14:13:36 2015
New Revision: 251249
URL: http://llvm.org/viewvc/llvm-project?rev=251249&view=rev
Log:
[ScalarEvolution] Get rid of NDEBUG in header.
Modified:
llvm/trunk/include/llvm/Analysis/ScalarEvolution.h
llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Modified: llvm/trunk/include/llvm/Analysis/ScalarEvolution.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/ScalarEvolution.h?rev=251249&r1=251248&r2=251249&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/ScalarEvolution.h (original)
+++ llvm/trunk/include/llvm/Analysis/ScalarEvolution.h Sun Oct 25 14:13:36 2015
@@ -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
Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolution.cpp?rev=251249&r1=251248&r2=251249&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Sun Oct 25 14:13:36 2015
@@ -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:
More information about the llvm-commits
mailing list