projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid specifyi...
[oota-llvm.git]
/
unittests
/
ExecutionEngine
/
MCJIT
/
MCJITObjectCacheTest.cpp
diff --git
a/unittests/ExecutionEngine/MCJIT/MCJITObjectCacheTest.cpp
b/unittests/ExecutionEngine/MCJIT/MCJITObjectCacheTest.cpp
index 2cc045ba97f7b013099ed2d0f463dc1c821b3e66..7073a5265d62c5e191c29ecac7e57153ed2b6c25 100644
(file)
--- a/
unittests/ExecutionEngine/MCJIT/MCJITObjectCacheTest.cpp
+++ b/
unittests/ExecutionEngine/MCJIT/MCJITObjectCacheTest.cpp
@@
-28,7
+28,7
@@
public:
virtual ~TestObjectCache() {
// Free any buffers we've allocated.
virtual ~TestObjectCache() {
// Free any buffers we've allocated.
- SmallVector
<MemoryBuffer *, 2
>::iterator it, end;
+ SmallVector
Impl<MemoryBuffer *
>::iterator it, end;
end = AllocatedBuffers.end();
for (it = AllocatedBuffers.begin(); it != end; ++it) {
delete *it;
end = AllocatedBuffers.end();
for (it = AllocatedBuffers.begin(); it != end; ++it) {
delete *it;