mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-29 08:02:51 +00:00
Unconst-ify stuff that broke the build.
llvm-svn: 35843
This commit is contained in:
parent
3d132f812a
commit
94e3511ef6
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user