diff options
| author | Craig Topper <craig.topper@gmail.com> | 2013-07-04 01:31:24 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2013-07-04 01:31:24 +0000 |
| commit | af0dea13479bbd1eacfb1404ac09c729174c32fe (patch) | |
| tree | 993847ade847808ef85e08533460c7b149dda80f /llvm/lib/ExecutionEngine/ExecutionEngine.cpp | |
| parent | a24dc7fa8c82651be2d74a8f5e09d8fa06e4f3ca (diff) | |
| download | bcm5719-llvm-af0dea13479bbd1eacfb1404ac09c729174c32fe.tar.gz bcm5719-llvm-af0dea13479bbd1eacfb1404ac09c729174c32fe.zip | |
Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid specifying the vector size.
llvm-svn: 185606
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp')
| -rw-r--r-- | llvm/lib/ExecutionEngine/ExecutionEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp index 01916363073..c463e9f807d 100644 --- a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp +++ b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp @@ -118,7 +118,7 @@ char *ExecutionEngine::getMemoryForGV(const GlobalVariable *GV) { } bool ExecutionEngine::removeModule(Module *M) { - for(SmallVector<Module *, 1>::iterator I = Modules.begin(), + for(SmallVectorImpl<Module *>::iterator I = Modules.begin(), E = Modules.end(); I != E; ++I) { Module *Found = *I; if (Found == M) { |

