about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-02-28 08:25:26 +0000
committerbors <bors@rust-lang.org>2022-02-28 08:25:26 +0000
commit48132caac241b4a278d58e1d791c6d31f7439ad6 (patch)
tree5ac49406823aa148c132f825cdaa5dc37ea04e5e /compiler/rustc_mir_transform/src/coverage/debug.rs
parent427cf81206d3b6cf41c86c1b9ce113a33f1ce860 (diff)
parente77e4fcf898ca4b2aa2041d2cbac200ed0f11b5b (diff)
downloadrust-48132caac241b4a278d58e1d791c6d31f7439ad6.tar.gz
rust-48132caac241b4a278d58e1d791c6d31f7439ad6.zip
Auto merge of #94427 - cjgillot:inline-fresh-expn, r=oli-obk
Only create a single expansion for each inline integration.

The inlining integrator used to create one expansion for each span from the callee body.
This PR reverses the logic to create a single expansion for the whole call,
which is more consistent with how macro expansions work for macros.

This should remove the large memory regression in #91743.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions