projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95c105e
)
Revert r229142. It breaks the world for unknown reasons.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Fri, 13 Feb 2015 19:45:28 +0000
(19:45 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Fri, 13 Feb 2015 19:45:28 +0000
(19:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229144
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/SmallVector.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/SmallVector.h
b/include/llvm/ADT/SmallVector.h
index c9ddf61f5e802b9930065276540e1e77abc42a7d..af9bbb623453f2bcb438575151abee7368dc715e 100644
(file)
--- a/
include/llvm/ADT/SmallVector.h
+++ b/
include/llvm/ADT/SmallVector.h
@@
-414,7
+414,9
@@
public:
this->grow(this->size()+NumInputs);
// Copy the new elements over.
- this->uninitialized_copy(in_start, in_end, this->end());
+ // TODO: NEED To compile time dispatch on whether in_iter is a random access
+ // iterator to use the fast uninitialized_copy.
+ std::uninitialized_copy(in_start, in_end, this->end());
this->setEnd(this->end() + NumInputs);
}