forked from OSchip/llvm-project
parent
d4f122044a
commit
6f29c89597
|
@ -44,14 +44,8 @@ namespace llvm {
|
||||||
friend class SCEVHandle;
|
friend class SCEVHandle;
|
||||||
void addRef() { ++RefCount; }
|
void addRef() { ++RefCount; }
|
||||||
void dropRef() {
|
void dropRef() {
|
||||||
if (--RefCount == 0) {
|
if (--RefCount == 0)
|
||||||
#if 0
|
|
||||||
std::cerr << "DELETING: " << this << ": ";
|
|
||||||
print(std::cerr);
|
|
||||||
std::cerr << "\n";
|
|
||||||
#endif
|
|
||||||
delete this;
|
delete this;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SCEV(const SCEV &); // DO NOT IMPLEMENT
|
SCEV(const SCEV &); // DO NOT IMPLEMENT
|
||||||
|
|
Loading…
Reference in New Issue