diff options
| author | bors <bors@rust-lang.org> | 2016-10-07 22:51:04 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-07 22:51:04 -0700 |
| commit | 195dbfa0980715ce6eb4b8baa1aa22bea15be69a (patch) | |
| tree | 0886091954380e3d86d10451ee9616dde2c8fe62 /src/rustllvm/RustWrapper.cpp | |
| parent | 49be16e766f76ccccbf6567038399a442de66544 (diff) | |
| parent | e5ffaded393b1fb162de9b617e9841cb555e8700 (diff) | |
| download | rust-195dbfa0980715ce6eb4b8baa1aa22bea15be69a.tar.gz rust-195dbfa0980715ce6eb4b8baa1aa22bea15be69a.zip | |
Auto merge of #37014 - nnethercote:avoid-pat_to_string, r=arielb1
Avoid some `pat_to_string` calls. `ty_of_method_or_bare_fn` currently calls `pat_to_string` even when it doesn't need to. Fixing this avoids hundreds of large allocations (e.g. 171,600 bytes, in `mk_printer`) in several of rustc-benchmarks.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
