diff options
| author | Bill Wendling <isanbard@gmail.com> | 2012-04-03 11:19:21 +0000 | 
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2012-04-03 11:19:21 +0000 | 
| commit | e2cf6743102a171edff2ad88fee47239b065bd8f (patch) | |
| tree | f7a25f41e74cd820cf125aafd4f358d243a166eb /llvm/lib/VMCore/Metadata.cpp | |
| parent | dd91e73409e6bdcb157933ebe55b4626acc584f5 (diff) | |
| download | bcm5719-llvm-e2cf6743102a171edff2ad88fee47239b065bd8f.tar.gz bcm5719-llvm-e2cf6743102a171edff2ad88fee47239b065bd8f.zip | |
The speedup doesn't appear to have been from this, but was an anomaly of my testing machine.
llvm-svn: 153951
Diffstat (limited to 'llvm/lib/VMCore/Metadata.cpp')
| -rw-r--r-- | llvm/lib/VMCore/Metadata.cpp | 1 | 
1 files changed, 0 insertions, 1 deletions
| diff --git a/llvm/lib/VMCore/Metadata.cpp b/llvm/lib/VMCore/Metadata.cpp index 46363eed525..d5f6aa92bdb 100644 --- a/llvm/lib/VMCore/Metadata.cpp +++ b/llvm/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. | 

