diff options
author | Manman Ren <mren@apple.com> | 2012-09-12 05:06:18 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2012-09-12 05:06:18 +0000 |
commit | 49d684e1e2d044f1c2156bbddd3d621e7bd405e9 (patch) | |
tree | 0cfdbde1e0bd09031a04ee151212f48ee5fc2286 /llvm/lib/Analysis/IPA/CallGraph.cpp | |
parent | 8ff00989fc14b2e85f8d81a94195e98e9ca243f0 (diff) | |
download | bcm5719-llvm-49d684e1e2d044f1c2156bbddd3d621e7bd405e9.tar.gz bcm5719-llvm-49d684e1e2d044f1c2156bbddd3d621e7bd405e9.zip |
Release build: guard dump functions with
"#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)"
No functional change. Update r163344.
llvm-svn: 163679
Diffstat (limited to 'llvm/lib/Analysis/IPA/CallGraph.cpp')
-rw-r--r-- | llvm/lib/Analysis/IPA/CallGraph.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/IPA/CallGraph.cpp b/llvm/lib/Analysis/IPA/CallGraph.cpp index 947ad519c6b..17631ddb305 100644 --- a/llvm/lib/Analysis/IPA/CallGraph.cpp +++ b/llvm/lib/Analysis/IPA/CallGraph.cpp @@ -198,7 +198,7 @@ void CallGraph::print(raw_ostream &OS, Module*) const { for (CallGraph::const_iterator I = begin(), E = end(); I != E; ++I) I->second->print(OS); } -#ifndef NDEBUG +#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) void CallGraph::dump() const { print(dbgs(), 0); } @@ -269,7 +269,7 @@ void CallGraphNode::print(raw_ostream &OS) const { OS << '\n'; } -#ifndef NDEBUG +#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) void CallGraphNode::dump() const { print(dbgs()); } #endif |