[llvm-commits] [poolalloc] r157335 - /poolalloc/trunk/lib/AssistDS/DSNodeEquivs.cpp
Will Dietz
wdietz2 at illinois.edu
Wed May 23 10:05:53 PDT 2012
Author: wdietz2
Date: Wed May 23 12:05:53 2012
New Revision: 157335
URL: http://llvm.org/viewvc/llvm-project?rev=157335&view=rev
Log:
Don't print debugging information by default, use DEBUG() macro.
Fixes equivs lit tests from previous commit.
Modified:
poolalloc/trunk/lib/AssistDS/DSNodeEquivs.cpp
Modified: poolalloc/trunk/lib/AssistDS/DSNodeEquivs.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/AssistDS/DSNodeEquivs.cpp?rev=157335&r1=157334&r2=157335&view=diff
==============================================================================
--- poolalloc/trunk/lib/AssistDS/DSNodeEquivs.cpp (original)
+++ poolalloc/trunk/lib/AssistDS/DSNodeEquivs.cpp Wed May 23 12:05:53 2012
@@ -108,10 +108,11 @@
}
// For debugging, dump out the callsites we are unable to get callees for.
+ DEBUG(
if (Callees.empty()) {
errs() << "Failed to get callees for callsite:\n";
CS.getInstruction()->dump();
- }
+ });
return Callees;
}
More information about the llvm-commits
mailing list