Silence unused variable warnings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59841 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2008-11-21 20:00:59 +00:00
parent a5c05aad57
commit 59500c8f9a
7 changed files with 14 additions and 0 deletions

View File

@ -53,6 +53,7 @@ namespace {
}
}
#ifndef DEBUG
/// PrintOps - Print out the expression identified in the Ops list.
///
static void PrintOps(Instruction *I, const std::vector<ValueEntry> &Ops) {
@ -64,6 +65,7 @@ static void PrintOps(Instruction *I, const std::vector<ValueEntry> &Ops) {
cerr << "," << Ops[i].Rank;
}
}
#endif
namespace {
class VISIBILITY_HIDDEN Reassociate : public FunctionPass {
@ -282,6 +284,7 @@ void Reassociate::LinearizeExprTree(BinaryOperator *I,
std::swap(LHS, RHS);
bool Success = !I->swapOperands();
assert(Success && "swapOperands failed");
Success = false;
MadeChange = true;
}
} else if (RHSBO) {