From 5fdf4756970ae431400422a9b725ba58d5e297a8 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 3 Apr 2012 11:19:21 +0000 Subject: [PATCH] The speedup doesn't appear to have been from this, but was an anomaly of my testing machine. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153951 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Metadata.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/VMCore/Metadata.cpp b/lib/VMCore/Metadata.cpp index 46363eed525..d5f6aa92bdb 100644 --- a/lib/VMCore/Metadata.cpp +++ b/lib/VMCore/Metadata.cpp @@ -553,7 +553,6 @@ getAllMetadataOtherThanDebugLocImpl(SmallVectorImplMetadataStore.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.