[llvm-commits] [llvm] r169176 - /llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp
Michael Ilseman
milseman at apple.com
Mon Dec 3 14:57:47 PST 2012
Author: milseman
Date: Mon Dec 3 16:57:47 2012
New Revision: 169176
URL: http://llvm.org/viewvc/llvm-project?rev=169176&view=rev
Log:
Minor tweaking to SmallVector static size.
Modified:
llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp
Modified: llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp?rev=169176&r1=169175&r2=169176&view=diff
==============================================================================
--- llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp (original)
+++ llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp Mon Dec 3 16:57:47 2012
@@ -709,7 +709,7 @@
// Write metadata kinds
// METADATA_KIND - [n x [id, name]]
- SmallVector<StringRef, 4> Names;
+ SmallVector<StringRef, 8> Names;
M->getMDKindNames(Names);
if (Names.empty()) return;
More information about the llvm-commits
mailing list