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 | 28116c9f498ec3b40dae90b3a94ba4ceb1a2081c (patch) | |
tree | 768e371e8e4386e4d29d895c81d5a6ca980fd02e /test/ExecutionEngine | |
parent | 847d2f93ca692fa627a97ba9743bc1e9b8c5cbae (diff) | |
download | external_llvm-28116c9f498ec3b40dae90b3a94ba4ceb1a2081c.zip external_llvm-28116c9f498ec3b40dae90b3a94ba4ceb1a2081c.tar.gz external_llvm-28116c9f498ec3b40dae90b3a94ba4ceb1a2081c.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120183 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ExecutionEngine')
0 files changed, 0 insertions, 0 deletions