about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/tests.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-05-02 19:53:03 +1000
committerZalathar <Zalathar@users.noreply.github.com>2024-05-06 12:13:30 +1000
commit83852d9bf359a886f2126504f929cfde3f17e62b (patch)
tree3c9c515b7111d938653a92402c5ea7d4ab430215 /compiler/rustc_mir_transform/src/coverage/tests.rs
parent496ae1ee1c6c9bbd820607e8b53c91f95e26ffdc (diff)
downloadrust-83852d9bf359a886f2126504f929cfde3f17e62b.tar.gz
rust-83852d9bf359a886f2126504f929cfde3f17e62b.zip
coverage: Don't recompute the number of test vector bitmap bytes
The code in `extract_mcdc_mappings` that allocates these bytes already knows
how many are needed in total, so there's no need to immediately recompute that
value in the calling function.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/tests.rs')
0 files changed, 0 insertions, 0 deletions