From f7c83188cdef7f3c0a6f3921f5aa3dae3f559eed Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Mon, 9 Apr 2007 23:08:26 +0000 Subject: [PATCH] Unconst-ify stuff that broke the build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35843 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/LoopSimplify.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Utils/LoopSimplify.cpp b/lib/Transforms/Utils/LoopSimplify.cpp index f9e5fbc850c..ff03384570e 100644 --- a/lib/Transforms/Utils/LoopSimplify.cpp +++ b/lib/Transforms/Utils/LoopSimplify.cpp @@ -675,7 +675,7 @@ void LoopSimplify::InsertUniqueBackedgeBlock(Loop *L) { // Returns true if BasicBlock A dominates at least one block in vector B // Helper function for UpdateDomInfoForRevectoredPreds -static bool BlockDominatesAny(BasicBlock* A, const std::vector& B, const ETForest& ETF) { +static bool BlockDominatesAny(BasicBlock* A, std::vector& B, ETForest& ETF) { for (std::vector::iterator BI = B.begin(), BE = B.end(); BI != BE; ++BI) { if (ETF.dominates(A, *BI)) return true; -- 2.34.1