[llvm-commits] CVS: llvm/include/llvm/Analysis/ScalarEvolution.h
Chris Lattner
lattner at cs.uiuc.edu
Fri Apr 2 23:32:42 PST 2004
Changes in directory llvm/include/llvm/Analysis:
ScalarEvolution.h updated: 1.1 -> 1.2
---
Log message:
cleanup some long-dead code
---
Diffs of the changes: (+1 -7)
Index: llvm/include/llvm/Analysis/ScalarEvolution.h
diff -u llvm/include/llvm/Analysis/ScalarEvolution.h:1.1 llvm/include/llvm/Analysis/ScalarEvolution.h:1.2
--- llvm/include/llvm/Analysis/ScalarEvolution.h:1.1 Fri Apr 2 14:23:00 2004
+++ llvm/include/llvm/Analysis/ScalarEvolution.h Fri Apr 2 14:46:26 2004
@@ -44,14 +44,8 @@
friend class SCEVHandle;
void addRef() { ++RefCount; }
void dropRef() {
- if (--RefCount == 0) {
-#if 0
- std::cerr << "DELETING: " << this << ": ";
- print(std::cerr);
- std::cerr << "\n";
-#endif
+ if (--RefCount == 0)
delete this;
- }
}
SCEV(const SCEV &); // DO NOT IMPLEMENT
More information about the llvm-commits
mailing list