Minor tweaking to SmallVector static size.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169176 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael Ilseman 2012-12-03 22:57:47 +00:00
parent b8f842dce4
commit cb66b5dd7a

View File

@ -709,7 +709,7 @@ static void WriteModuleMetadataStore(const Module *M, BitstreamWriter &Stream) {
// Write metadata kinds
// METADATA_KIND - [n x [id, name]]
SmallVector<StringRef, 4> Names;
SmallVector<StringRef, 8> Names;
M->getMDKindNames(Names);
if (Names.empty()) return;