[cfe-commits] r123944 - /cfe/trunk/lib/Analysis/UninitializedValuesV2.cpp
Ted Kremenek
kremenek at apple.com
Thu Jan 20 13:25:34 PST 2011
Author: kremenek
Date: Thu Jan 20 15:25:34 2011
New Revision: 123944
URL: http://llvm.org/viewvc/llvm-project?rev=123944&view=rev
Log:
Removing debug printing logic from UninitializedValuesV2.
Modified:
cfe/trunk/lib/Analysis/UninitializedValuesV2.cpp
Modified: cfe/trunk/lib/Analysis/UninitializedValuesV2.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/UninitializedValuesV2.cpp?rev=123944&r1=123943&r2=123944&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/UninitializedValuesV2.cpp (original)
+++ cfe/trunk/lib/Analysis/UninitializedValuesV2.cpp Thu Jan 20 15:25:34 2011
@@ -185,19 +185,6 @@
return BVPair(&bvA, &getBitVector(*itr, block));
}
-
-static void printVector(const CFGBlock *block, llvm::BitVector &bv,
- unsigned num) {
-
- #if 0
- llvm::errs() << block->getBlockID() << " :";
- for (unsigned i = 0; i < bv.size(); ++i) {
- llvm::errs() << ' ' << bv[i];
- }
- llvm::errs() << " : " << num << '\n';
- #endif
-}
-
void CFGBlockValues::mergeIntoScratch(llvm::BitVector const &source,
bool isFirst) {
if (isFirst)
@@ -212,7 +199,6 @@
if (changed)
dst = scratch;
- printVector(block, scratch, 0);
return changed;
}
@@ -223,8 +209,6 @@
*newVals.second != *vals.second;
*vals.first = *newVals.first;
*vals.second = *newVals.second;
- printVector(block, *vals.first, 1);
- printVector(block, *vals.second, 2);
return changed;
}
More information about the cfe-commits
mailing list