about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-10-07 22:51:04 -0700
committerGitHub <noreply@github.com>2016-10-07 22:51:04 -0700
commit195dbfa0980715ce6eb4b8baa1aa22bea15be69a (patch)
tree0886091954380e3d86d10451ee9616dde2c8fe62 /src/rustllvm/RustWrapper.cpp
parent49be16e766f76ccccbf6567038399a442de66544 (diff)
parente5ffaded393b1fb162de9b617e9841cb555e8700 (diff)
downloadrust-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