summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-11-20 15:53:24 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-11-20 15:53:24 +0000
commitf6fb58a216d80b84d5a346d84ebb32cd263db098 (patch)
treedfecb3bc3137429a9e58dccd9db265174f94997a /llvm/lib/CodeGen/SelectionDAG
parent4fd9b685ffb6f12236a84f04961b485566a715bb (diff)
downloadbcm5719-llvm-f6fb58a216d80b84d5a346d84ebb32cd263db098.tar.gz
bcm5719-llvm-f6fb58a216d80b84d5a346d84ebb32cd263db098.zip
Silence Release build warnings about unused functions.
llvm-svn: 119903
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 63f998a0844..7ef8f7c19c6 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud