diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-10-06 22:44:14 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-10-06 23:01:29 +1100 |
| commit | ab154e69993f15c4f37842dd2c2dfc6750af6a8a (patch) | |
| tree | 8a5698e6ebc5bc8819d71ea26ee725f668636a92 /compiler/rustc_codegen_ssa/src | |
| parent | c6e4fcd4faaa57fa059165a5c24b119d1e8f0f7f (diff) | |
| download | rust-ab154e69993f15c4f37842dd2c2dfc6750af6a8a.tar.gz rust-ab154e69993f15c4f37842dd2c2dfc6750af6a8a.zip | |
coverage: Store `bcb_needs_counter` in a field as a bitset
This makes it possible for other parts of counter-assignment to check whether a node is guaranteed to end up with some kind of counter. Switching from `impl Fn` to a concrete `&BitSet` just avoids the hassle of trying to store a closure in a struct field, and currently there's no foreseeable need for this information to not be a bitset.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
0 files changed, 0 insertions, 0 deletions
