diff options
Diffstat (limited to 'lib/Transforms/Scalar/Reassociate.cpp')
-rw-r--r-- | lib/Transforms/Scalar/Reassociate.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/Reassociate.cpp b/lib/Transforms/Scalar/Reassociate.cpp index 313723c..c220c2b 100644 --- a/lib/Transforms/Scalar/Reassociate.cpp +++ b/lib/Transforms/Scalar/Reassociate.cpp @@ -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) { |