From: Chris Lattner Date: Sat, 9 Nov 2002 00:48:52 +0000 (+0000) Subject: Fix release build X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1fa48e9d32cad99426478e9cdb821f56f65d3632;p=oota-llvm.git Fix release build git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4647 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/DSNode.h b/include/llvm/Analysis/DSNode.h index 729240f7751..7726d72f378 100644 --- a/include/llvm/Analysis/DSNode.h +++ b/include/llvm/Analysis/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... diff --git a/include/llvm/Analysis/DataStructure/DSNode.h b/include/llvm/Analysis/DataStructure/DSNode.h index 729240f7751..7726d72f378 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...