diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-11-26 18:25:20 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-11-26 18:25:20 +0000 |
commit | 9610ea943c7a0b07491332852bb6257dff803846 (patch) | |
tree | 1ccdb5bf5143048f1b27cea9ed2f48f1e8035748 /llvm/lib/MC/MCSection.cpp | |
parent | 346203105fce7e1efb1132f7b5b272cd103192d2 (diff) | |
download | bcm5719-llvm-9610ea943c7a0b07491332852bb6257dff803846.tar.gz bcm5719-llvm-9610ea943c7a0b07491332852bb6257dff803846.zip |
BitVector tweaks.
- Double the vector's capacity when growing to avoid unneeccesary reallocation.
- Do the reallocation with realloc(3) which can expand the memory in place.
llvm-svn: 120183
Diffstat (limited to 'llvm/lib/MC/MCSection.cpp')
0 files changed, 0 insertions, 0 deletions