diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:41:05 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:41:05 +0000 |
| commit | 01095a5d43bbfde13731688ddcf6048ebb8b7721 (patch) | |
| tree | 4def12e759965de927d963ac65840d663ef9d1ea /lib/Analysis/SparsePropagation.cpp | |
| parent | f0f4822ed4b66e3579e92a89f368f8fb860e218e (diff) | |
Notes
Diffstat (limited to 'lib/Analysis/SparsePropagation.cpp')
| -rw-r--r-- | lib/Analysis/SparsePropagation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/SparsePropagation.cpp b/lib/Analysis/SparsePropagation.cpp index f5a927b80525..79dc84e25533 100644 --- a/lib/Analysis/SparsePropagation.cpp +++ b/lib/Analysis/SparsePropagation.cpp @@ -320,8 +320,8 @@ void SparseSolver::Solve(Function &F) { // Notify all instructions in this basic block that they are newly // executable. - for (BasicBlock::iterator I = BB->begin(), E = BB->end(); I != E; ++I) - visitInst(*I); + for (Instruction &I : *BB) + visitInst(I); } } } |
