Silence Release build warnings about unused functions.

llvm-svn: 119903
This commit is contained in:
Benjamin Kramer 2010-11-20 15:53:24 +00:00
parent 4fd9b685ff
commit f6fb58a216
1 changed files with 2 additions and 0 deletions

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.