1
Fork 0
rust/compiler/rustc_codegen_ssa/src
Matthias Krüger 19d3827efe
Rollup merge of #122937 - Zalathar:unbox, r=oli-obk
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.

``@rustbot`` label +A-code-coverage
2024-03-24 17:08:16 +01:00
..
back Update comment and remove special-case for Wasm targets which is incompatible with response-file changes 2024-03-20 23:38:15 +00:00
debuginfo Programmatically convert some of the pat ctors 2024-03-22 11:13:29 -04:00
mir Rollup merge of #122937 - Zalathar:unbox, r=oli-obk 2024-03-24 17:08:16 +01:00
traits Rollup merge of #122937 - Zalathar:unbox, r=oli-obk 2024-03-24 17:08:16 +01:00
assert_module_sources.rs Rename IntoDiagnosticArg as IntoDiagArg. 2024-03-11 09:12:19 +11:00
base.rs CFI: Use Instance at callsites 2024-03-23 18:30:39 +00:00
codegen_attrs.rs Fix misleading message when using a named constant as a struct alignment/pack 2024-03-02 23:15:39 +08:00
common.rs Handle calls to upstream monomorphizations in compiler_builtins 2024-03-16 15:22:05 -04:00
errors.rs Handle calls to upstream monomorphizations in compiler_builtins 2024-03-16 15:22:05 -04:00
lib.rs Stabilize associated type bounds 2024-03-08 20:56:25 +00:00
meth.rs use ptradd for vtable indexing 2024-03-10 22:47:30 -04:00
mono_item.rs Fix ICE: global_asm!() Don't Panic When Unable to Evaluate Constant 2024-03-18 11:35:40 -04:00
size_of_val.rs CFI: Use Instance at callsites 2024-03-23 18:30:39 +00:00
target_features.rs Bump indexmap 2024-02-13 21:03:34 +00:00