[llvm-commits] CVS: llvm/lib/Transforms/Utils/LoopSimplify.cpp
Owen Anderson
resistor at mac.com
Mon Apr 9 16:08:43 PDT 2007
Changes in directory llvm/lib/Transforms/Utils:
LoopSimplify.cpp updated: 1.88 -> 1.89
---
Log message:
Unconst-ify stuff that broke the build.
---
Diffs of the changes: (+1 -1)
LoopSimplify.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Transforms/Utils/LoopSimplify.cpp
diff -u llvm/lib/Transforms/Utils/LoopSimplify.cpp:1.88 llvm/lib/Transforms/Utils/LoopSimplify.cpp:1.89
--- llvm/lib/Transforms/Utils/LoopSimplify.cpp:1.88 Mon Apr 9 17:54:50 2007
+++ llvm/lib/Transforms/Utils/LoopSimplify.cpp Mon Apr 9 18:08:26 2007
@@ -675,7 +675,7 @@
// 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;
More information about the llvm-commits
mailing list