projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6066a7
)
[ScalarEvolution] Guard dump() with #if
author
Jingyue Wu
<jingyue@google.com>
Mon, 27 Oct 2014 21:14:41 +0000
(21:14 +0000)
committer
Jingyue Wu
<jingyue@google.com>
Mon, 27 Oct 2014 21:14:41 +0000
(21:14 +0000)
to be consistent with its definition in ScalarEvolution.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220721
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Analysis/ScalarEvolution.h
patch
|
blob
|
history
diff --git
a/include/llvm/Analysis/ScalarEvolution.h
b/include/llvm/Analysis/ScalarEvolution.h
index bc31b8e4c3f3a96dff61856b450e05e46d0e4003..893402ea11aa5dba94187b9ac65ef1af6fafc8d0 100644
(file)
--- a/
include/llvm/Analysis/ScalarEvolution.h
+++ b/
include/llvm/Analysis/ScalarEvolution.h
@@
-129,9
+129,11
@@
namespace llvm {
/// purposes.
void print(raw_ostream &OS) const;
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
/// dump - This method is used for debugging.
///
void dump() const;
+#endif
};
// Specialize FoldingSetTrait for SCEV to avoid needing to compute