diff options
-rw-r--r-- | include/llvm/Analysis/ScalarEvolution.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h index 253217ef1a..dc651dbdc3 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 |