BitstreamWriter: Change primary output buffer to be a SmallVector instead of an
authorDaniel Dunbar <daniel@zuster.org>
Wed, 29 Feb 2012 20:31:09 +0000 (20:31 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 29 Feb 2012 20:31:09 +0000 (20:31 +0000)
commitacbceeae4d7bdfbbc3437c60a5a3e26449888a15
treeb12362a7581d05d67c62db9b1ea09c1af039c040
parenta8d16bbdfba55b309234cecbabad015a13683781
BitstreamWriter: Change primary output buffer to be a SmallVector instead of an
std::vector.
 - Good for 1-2% speedup on writing PCH for Cocoa.h.
 - Clang side API match to follow shortly, there wasn't an easy way to make this
   non-breaking.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151750 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/BitstreamWriter.h
lib/Bitcode/Writer/BitcodeWriter.cpp