diff options
author | Owen Anderson <resistor@mac.com> | 2007-04-09 23:08:26 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2007-04-09 23:08:26 +0000 |
commit | f1ca1376d3d04c1229aa26b1f6eeaa93252e1b8b (patch) | |
tree | f7941de8f4affa0427e42ea4e84a3869975216e2 /llvm/lib/Transforms | |
parent | 5917716146b55b566528f0beb7220dfbc7972aa4 (diff) | |
download | bcm5719-llvm-f1ca1376d3d04c1229aa26b1f6eeaa93252e1b8b.tar.gz bcm5719-llvm-f1ca1376d3d04c1229aa26b1f6eeaa93252e1b8b.zip |
Unconst-ify stuff that broke the build.
llvm-svn: 35843
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopSimplify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopSimplify.cpp b/llvm/lib/Transforms/Utils/LoopSimplify.cpp index f9e5fbc850c..ff03384570e 100644 --- a/llvm/lib/Transforms/Utils/LoopSimplify.cpp +++ b/llvm/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<BasicBlock*>& B, const ETForest& ETF) { +static bool BlockDominatesAny(BasicBlock* A, std::vector<BasicBlock*>& B, ETForest& ETF) { for (std::vector<BasicBlock*>::iterator BI = B.begin(), BE = B.end(); BI != BE; ++BI) { if (ETF.dominates(A, *BI)) return true; |