about summary refs log tree commit diff
path: root/library/std/src/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-24 01:09:11 +0000
committerbors <bors@rust-lang.org>2022-04-24 01:09:11 +0000
commitb21759f5509477522a208b27bec5822d89f7c6b8 (patch)
tree8f157838ac06aaca7b633812c3bd648adbd315ff /library/std/src/sys/unix/process/process_unix.rs
parent143eaa8d441641251ab41ed73deaba0d8d0cf4a5 (diff)
parentdb23e773e326edccf38d8ddfd42310fc169b861d (diff)
downloadrust-b21759f5509477522a208b27bec5822d89f7c6b8.tar.gz
rust-b21759f5509477522a208b27bec5822d89f7c6b8.zip
Auto merge of #96281 - SparrowLii:const_prop, r=wesleywiser
Optimize `const_prop` mir-opt by accessing `local_decls` through `ecx`

From the FIXME in the impl of `ConstPropagator`. Accessing `local_decls` and `scource_scopes` from `ecx` can reduce `clone` calls and save compile time.
Besides, according to #96213 , the FIXME about writing `layouts` to `ecx` in advance can also be removed.
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions