[llvm-commits] CVS: llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Feb 27 14:32:34 PST 2005
Changes in directory llvm-poolalloc/lib/PoolAllocate:
PointerCompress.cpp updated: 1.33 -> 1.34
---
Log message:
Remove some printouts, drop some unneeded {}'s
---
Diffs of the changes: (+2 -6)
PointerCompress.cpp | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
Index: llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp
diff -u llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp:1.33 llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp:1.34
--- llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp:1.33 Sun Feb 27 15:32:56 2005
+++ llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp Sun Feb 27 16:30:51 2005
@@ -912,16 +912,12 @@
for (unsigned i = NumPoolArgs+1, e = CI.getNumOperands(); i != e; ++i, ++AI)
if (isa<PointerType>(CI.getOperand(i)->getType()) &&
- PoolsToCompress.count(CG->getNodeForValue(AI).getNode())) {
+ PoolsToCompress.count(CG->getNodeForValue(AI).getNode()))
Operands.push_back(getTransformedValue(CI.getOperand(i)));
- } else {
+ else
Operands.push_back(CI.getOperand(i));
- }
-
- std::cerr << "REPL: " << CI;
Value *NC = new CallInst(Clone, Operands, CI.getName(), &CI);
- std::cerr << "WITH: " << *NC;
if (NC->getType() != CI.getType()) // Compressing return value?
setTransformedValue(CI, NC);
else {
More information about the llvm-commits
mailing list