Nicholas Nethercote
0f12da17c0
Remove unused arguments from on_all_children_bits.
...
`on_all_children_bits` has two arguments that are unused: `tcx` and
`body`. This was not detected by the compiler because it's a recursive
function.
This commit removes them, and removes lots of other arguments and fields
that are no longer necessary.
2023-11-24 06:36:27 +11:00
Nicholas Nethercote
118308ee03
Remove unused EverInitializedPlaces::tcx field.
2023-11-24 06:15:32 +11:00
Nilstrieb
21a870515b
Fix clippy::needless_borrow in the compiler
...
`x clippy compiler -Aclippy::all -Wclippy::needless_borrow --fix`.
Then I had to remove a few unnecessary parens and muts that were exposed
now.
2023-11-21 20:13:40 +01:00
Camille GILLOT
547af00019
Remove on_all_drop_children_bits.
...
As drop elaboration only tracks places that need dropping, is has become
equivalent to `on_all_children_bits`.
2023-10-21 10:33:37 +00:00
Camille GILLOT
90e6d29955
Avoid using a magic value for untracked locals.
2023-10-21 10:30:16 +00:00
Oli Scherer
e96ce20b34
s/generator/coroutine/
2023-10-20 21:14:01 +00:00
Oli Scherer
60956837cf
s/Generator/Coroutine/
2023-10-20 21:10:38 +00:00
Camille GILLOT
388f6a6413
Make TerminatorEdge plural.
2023-08-16 18:12:18 +00:00
Camille GILLOT
6cf15d4cb5
Rename MaybeUnreachable.
2023-08-16 18:12:18 +00:00
Camille GILLOT
3acfa092db
Only run MaybeInitializedPlaces once for drop elaboration.
2023-08-16 18:12:18 +00:00
Camille GILLOT
5173d85043
Allow apply_terminator_effect to customize edges.
2023-08-16 18:12:17 +00:00
Camille GILLOT
934a99eb65
Move domain_size to GenKillAnalysis.
2023-08-16 18:12:17 +00:00
Camille GILLOT
8726cbc75f
Move initialization dataflow impls into their own module.
2023-08-16 18:12:17 +00:00