aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/DataStructure/DSNode.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Analysis/DataStructure/DSNode.h')
-rw-r--r--include/llvm/Analysis/DataStructure/DSNode.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/Analysis/DataStructure/DSNode.h b/include/llvm/Analysis/DataStructure/DSNode.h
index 729240f..7726d72 100644
--- a/include/llvm/Analysis/DataStructure/DSNode.h
+++ b/include/llvm/Analysis/DataStructure/DSNode.h
@@ -72,10 +72,8 @@ public:
DSNode(const DSNode &);
~DSNode() {
-#ifndef NDEBUG
- dropAllReferences(); // Only needed to satisfy assertion checks...
+ dropAllReferences();
assert(Referrers.empty() && "Referrers to dead node exist!");
-#endif
}
// Iterator for graph interface...