forked from OSchip/llvm-project
The speedup doesn't appear to have been from this, but was an anomaly of my testing machine.
llvm-svn: 153951
This commit is contained in:
parent
dd91e73409
commit
e2cf674310
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue