about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-06-24 19:22:01 +0000
committerbors <bors@rust-lang.org>2024-06-24 19:22:01 +0000
commitd8d5732456d375f7c4bdc2f6ad771989a5e0ae02 (patch)
treeb6f0fb34824c6fd06d3a316015884ef8e2e0fa30 /tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
parent5a3e2a4e921097c8f2bf6ea7565f8abe878cdbd4 (diff)
parentb28efb11af6c3aea1117df81df9fc6ddf5b88077 (diff)
downloadrust-d8d5732456d375f7c4bdc2f6ad771989a5e0ae02.tar.gz
rust-d8d5732456d375f7c4bdc2f6ad771989a5e0ae02.zip
Auto merge of #126784 - scottmcm:smaller-terminator, r=compiler-errors
Save 2 pointers in `TerminatorKind` (96 → 80 bytes)

These things don't need to be `Vec`s; boxed slices are enough.

The frequent one here is call arguments, but MIR building knows the number of arguments from the THIR, so the collect is always getting the allocation right in the first place, and thus this shouldn't ever add the shrink-in-place overhead.
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-flags.rs')
0 files changed, 0 insertions, 0 deletions