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:
f563fc3
)
The speedup doesn't appear to have been from this, but was an anomaly of my testing...
author
Bill Wendling
<isanbard@gmail.com>
Tue, 3 Apr 2012 11:19:21 +0000
(11:19 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Tue, 3 Apr 2012 11:19:21 +0000
(11:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153951
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Metadata.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Metadata.cpp
b/lib/VMCore/Metadata.cpp
index 46363eed5251c4daa693c3c5408a39008e8a884c..d5f6aa92bdb0d310dd39f3a40345a8c04309569d 100644
(file)
--- a/
lib/VMCore/Metadata.cpp
+++ b/
lib/VMCore/Metadata.cpp
@@
-553,7
+553,6
@@
getAllMetadataOtherThanDebugLocImpl(SmallVectorImpl<std::pair<unsigned,
const LLVMContextImpl::MDMapTy &Info =
getContext().pImpl->MetadataStore.find(this)->second;
assert(!Info.empty() && "Shouldn't have called this");
- Result.reserve(Info.size());
Result.append(Info.begin(), Info.end());
// Sort the resulting array so it is stable.