summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-04-09 23:08:26 +0000
committerOwen Anderson <resistor@mac.com>2007-04-09 23:08:26 +0000
commitf1ca1376d3d04c1229aa26b1f6eeaa93252e1b8b (patch)
treef7941de8f4affa0427e42ea4e84a3869975216e2 /llvm/lib/Transforms
parent5917716146b55b566528f0beb7220dfbc7972aa4 (diff)
downloadbcm5719-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.cpp2
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;
OpenPOWER on IntegriCloud