[llvm-commits] [llvm] r119903 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

Benjamin Kramer benny.kra at googlemail.com
Sat Nov 20 07:53:25 PST 2010


Author: d0k
Date: Sat Nov 20 09:53:24 2010
New Revision: 119903

URL: http://llvm.org/viewvc/llvm-project?rev=119903&view=rev
Log:
Silence Release build warnings about unused functions.

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp?rev=119903&r1=119902&r2=119903&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Sat Nov 20 09:53:24 2010
@@ -745,6 +745,7 @@
   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 @@
 
   VerifyNodeCommon(N);
 }
+#endif // NDEBUG
 
 /// getEVTAlignment - Compute the default alignment value for the
 /// given type.





More information about the llvm-commits mailing list