Zalathar
319693a927
coverage: Simplify initial creation of coverage spans
2023-10-21 11:56:15 +11:00
Zalathar
e16494469e
coverage: Don't create an intermediate vec for each BCB's initial spans
2023-10-21 11:53:27 +11:00
Oli Scherer
60956837cf
s/Generator/Coroutine/
2023-10-20 21:10:38 +00:00
Zalathar
6c44425e98
coverage: Remove enum CoverageStatement
...
This enum was mainly needed to track the precise origin of a span in MIR, for
debug printing purposes. Since the old debug code was removed in #115962 , we
can replace it with just the span itself.
2023-10-10 13:39:23 +11:00
Zalathar
4b471df25d
coverage: Disconnect span extraction from CoverageSpansGenerator
...
By performal initial span extraction in a separate free function, we can remove
some accidental complexity from the main generator code.
2023-10-10 13:39:23 +11:00
Zalathar
972ab8863d
coverage: Move initial MIR span extraction into a submodule
2023-10-10 13:39:23 +11:00