1
Fork 0
rust/compiler/rustc_mir_transform/src/coverage
Zalathar ab92699f4a Unbox and unwrap the contents of StatementKind::Coverage
The payload of coverage statements was historically a structure with several
fields, so it was boxed to avoid bloating `StatementKind`.

Now that the payload is a single relatively-small enum, we can replace
`Box<Coverage>` with just `CoverageKind`.

This patch also adds a size assertion for `StatementKind`, to avoid
accidentally bloating it in the future.
2024-03-23 22:05:11 +11:00
..
spans Unbox and unwrap the contents of StatementKind::Coverage 2024-03-23 22:05:11 +11:00
counters.rs coverage: Tidy imports in rustc_mir_transform::coverage::counters 2024-03-20 18:25:53 +11:00
graph.rs Change InlineAsm to allow multiple targets instead 2024-02-24 18:50:09 +00:00
mod.rs Unbox and unwrap the contents of StatementKind::Coverage 2024-03-23 22:05:11 +11:00
query.rs Unbox and unwrap the contents of StatementKind::Coverage 2024-03-23 22:05:11 +11:00
spans.rs coverage: Include recorded branch info in coverage instrumentation 2024-03-14 17:19:02 +11:00
tests.rs Change InlineAsm to allow multiple targets instead 2024-02-24 18:50:09 +00:00