summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingyue Wu <jingyue@google.com>2014-10-27 21:14:41 +0000
committerJingyue Wu <jingyue@google.com>2014-10-27 21:14:41 +0000
commit53c1612ed1b5a21d5ecfd7d2d35edf1961c3b3b2 (patch)
tree9f0f8300acdfcbb3a41d7517b69accc96ba21fd8
parentdc574df04f2102ba0ecc53fad46faa294ca76635 (diff)
downloadbcm5719-llvm-53c1612ed1b5a21d5ecfd7d2d35edf1961c3b3b2.tar.gz
bcm5719-llvm-53c1612ed1b5a21d5ecfd7d2d35edf1961c3b3b2.zip
[ScalarEvolution] Guard dump() with #if
to be consistent with its definition in ScalarEvolution.cpp llvm-svn: 220721
-rw-r--r--llvm/include/llvm/Analysis/ScalarEvolution.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/Analysis/ScalarEvolution.h b/llvm/include/llvm/Analysis/ScalarEvolution.h
index bc31b8e4c3f..893402ea11a 100644
--- a/llvm/include/llvm/Analysis/ScalarEvolution.h
+++ b/llvm/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
OpenPOWER on IntegriCloud