From: Benjamin Kramer Date: Sat, 20 Nov 2010 15:53:24 +0000 (+0000) Subject: Silence Release build warnings about unused functions. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=3ca136312abe3c41f3422e9de280b7be0dc65362;p=oota-llvm.git Silence Release build warnings about unused functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119903 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 63f998a0844..7ef8f7c19c6 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -745,6 +745,7 @@ SDNode *SelectionDAG::FindModifiedNodeSlot(SDNode *N, return Node; } +#ifndef NDEBUG /// VerifyNodeCommon - Sanity check the given node. Aborts if it is invalid. static void VerifyNodeCommon(SDNode *N) { switch (N->getOpcode()) { @@ -816,6 +817,7 @@ static void VerifyMachineNode(SDNode *N) { VerifyNodeCommon(N); } +#endif // NDEBUG /// getEVTAlignment - Compute the default alignment value for the /// given type.