summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitcodeReader.h
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2012-12-07 22:06:56 +0000
committerEli Bendersky <eliben@google.com>2012-12-07 22:06:56 +0000
commit550f0ade457c3b042fa099ecff2c022c7ab58b1e (patch)
treed4862ee34165b0a87d78b69cce1254a8da09c6a9 /lib/Bitcode/Reader/BitcodeReader.h
parentaf59e9adbd4c972d480d58260b03768c85eb2067 (diff)
downloadllvm-550f0ade457c3b042fa099ecff2c022c7ab58b1e.tar.gz
llvm-550f0ade457c3b042fa099ecff2c022c7ab58b1e.tar.bz2
llvm-550f0ade457c3b042fa099ecff2c022c7ab58b1e.tar.xz
Make the contents of encoded sections SmallVector<char, N> instead of
SmallString. This makes it possible to use the length-erased SmallVectorImpl in the interface without imposing buffer size. Thus, the size of MCInstFragment is back down since a preallocated 8-byte contents buffer is enough. It would be generally a good idea to rid all the fragments of SmallString as contents, because a vector just makes more sense. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169644 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions