summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCObjectStreamer.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-11-26 18:25:20 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-11-26 18:25:20 +0000
commit9610ea943c7a0b07491332852bb6257dff803846 (patch)
tree1ccdb5bf5143048f1b27cea9ed2f48f1e8035748 /llvm/lib/MC/MCObjectStreamer.cpp
parent346203105fce7e1efb1132f7b5b272cd103192d2 (diff)
downloadbcm5719-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/MCObjectStreamer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud