From: Chris Lattner Date: Fri, 2 Apr 2004 20:46:26 +0000 (+0000) Subject: cleanup some long-dead code X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=254bacd79a07632548de2f1c91d2768572764f66;p=oota-llvm.git cleanup some long-dead code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12628 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h index 253217ef1a3..dc651dbdc34 100644 --- a/include/llvm/Analysis/ScalarEvolution.h +++ b/include/llvm/Analysis/ScalarEvolution.h @@ -44,14 +44,8 @@ namespace llvm { 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