Minor tweaking to SmallVector static size.

llvm-svn: 169176
This commit is contained in:
Michael Ilseman
2012-12-03 22:57:47 +00:00
parent d479a57f68
commit 979dfbb6a1

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;