aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-08-04 14:46:06 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-08-04 14:46:06 +0000
commit9dc549b1ddf5c7c45ba4431c112d806878f4c9a2 (patch)
tree268ffb6d85ad85605ebe049c413cd1090832d982 /llvm/lib/CodeGen/MachineFunction.cpp
parent2f12b2ede5bcd53ea6bb60ce5d0e0917e5d6dc27 (diff)
downloadllvm-9dc549b1ddf5c7c45ba4431c112d806878f4c9a2.zip
llvm-9dc549b1ddf5c7c45ba4431c112d806878f4c9a2.tar.gz
llvm-9dc549b1ddf5c7c45ba4431c112d806878f4c9a2.tar.bz2
[Sema] Allocate SmallVector to the right size.
SmallVector::set_size does not reallocate the vector. Sadly I have no idea how to test this. The vector never has more than one member in all of the regression tests. Found by inspection. llvm-svn: 243987
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions