about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2017-11-16 10:05:03 +0100
committerGitHub <noreply@github.com>2017-11-16 10:05:03 +0100
commit3c1ea047da61fd6b389849492bfcd362bbc6c0d1 (patch)
tree431a1d357c1b212b3920f5bff36f85a66bf97caf /src/rustllvm/RustWrapper.cpp
parent387fa844bbcfa236b3ea192adc4196361d25677a (diff)
parent824b307ff7e3e93f2a5d0d864e9161c3db12acfc (diff)
downloadrust-3c1ea047da61fd6b389849492bfcd362bbc6c0d1.tar.gz
rust-3c1ea047da61fd6b389849492bfcd362bbc6c0d1.zip
Rollup merge of #45973 - arielb1:fast-path, r=estebank
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).

r? @jseyfried
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions