Silence Release build warnings about unused functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119903 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2010-11-20 15:53:24 +00:00
parent 0b8f0a208e
commit 3ca136312a

View File

@ -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.