diff options
| author | Matt Brubeck <mbrubeck@limpet.net> | 2021-09-28 13:03:31 -0700 |
|---|---|---|
| committer | Matt Brubeck <mbrubeck@limpet.net> | 2021-09-28 13:23:54 -0700 |
| commit | 58b1a127d66b71e1a2180b509856f2c52feca9b3 (patch) | |
| tree | c2b9192703156e8259e7fb2b0afde55afdbbd014 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 8f8092cc32ec171becef8ceacec7dbb06c5d7d7e (diff) | |
| download | rust-58b1a127d66b71e1a2180b509856f2c52feca9b3.tar.gz rust-58b1a127d66b71e1a2180b509856f2c52feca9b3.zip | |
Avoid allocations and copying in Vec::leak
Don't shrink the Vec (by calling into_boxed_slice) before leaking it.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
