diff options
| author | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2017-11-14 01:24:36 +0200 |
|---|---|---|
| committer | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2017-11-14 01:24:36 +0200 |
| commit | 824b307ff7e3e93f2a5d0d864e9161c3db12acfc (patch) | |
| tree | 021efcc9ecc2b81b7844f89c08b04008001cdc61 /src/rustllvm/RustWrapper.cpp | |
| parent | aca22a8f81993b0e046dbc41307c99bd9e38a195 (diff) | |
| download | rust-824b307ff7e3e93f2a5d0d864e9161c3db12acfc.tar.gz rust-824b307ff7e3e93f2a5d0d864e9161c3db12acfc.zip | |
avoid the pprust infrastructure in macro expansion
This changes macro expansion to format the path of a macro directly instead of usng the pprust infrastructure. The pprust infrastructure tries to perform line-breaking in a slow fashion, which is undesired when formatting the path of a macro. This should to speed up expansion by a fair amount (I saw 20% on a profiler on `rustc_mir`, and 50% of the time marked as "expansion" in the profiler/time-passes is actually spent loading dependencies).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
