diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2021-12-08 16:18:00 -0800 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2021-12-08 16:22:37 -0800 |
commit | cd7bc0e010a3c0b4eb349e8c9a0e7edd591a5fff (patch) | |
tree | 64c61a83fc6e4ce1cf289f9c837d1fdc0aae3ae1 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 7df18557791ea1cf8f4f55d97d47ff5008f3bbbb (diff) | |
download | llvm-cd7bc0e010a3c0b4eb349e8c9a0e7edd591a5fff.zip llvm-cd7bc0e010a3c0b4eb349e8c9a0e7edd591a5fff.tar.gz llvm-cd7bc0e010a3c0b4eb349e8c9a0e7edd591a5fff.tar.bz2 |
Support: Avoid using SmallVector::set_size() in zlib
Stop using `SmallVector::set_size()` in zlib. Replace pairs of
`reserve()` / `set_size()` with `resize_for_overwrite()` and
`truncate()`.
Differential Revision: https://reviews.llvm.org/D115391
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions