Tomasz Miąsko
b48870b451
Replace Body::basic_blocks() with field access
2022-08-26 14:27:08 +02:00
Tomasz Miąsko
39de03d844
Change Direction::{is_forward,is_backward} functions into constants
...
Make it explicit that the analysis direction is constant.
This also makes the value immediately available for optimizations.
Previously those functions were neither inline nor generic and so their
definition was unavailable when using data flow framework from other
crates.
2022-06-07 17:02:55 +02:00
Jakob Degen
09b0936db2
Refactor call terminator to always hold a destination place
2022-05-23 17:49:04 -04:00
Michael Goulet
1784634a39
Lifetime variance fixes for rustc
2022-05-22 14:29:32 -07:00
LegionMammal978
fed881aafc
Remove in_band_lifetimes from rustc_mir_dataflow
...
See #91867 for more information.
2021-12-16 14:29:43 -05:00
Amanieu d'Antras
940b2eabad
Add initial AST and MIR support for unwinding from inline assembly
2021-12-03 23:51:46 +01:00
Dylan MacKenzie
abd3fe347b
Ignore errors re: unreachable blocks in dataflow cursor unit tests
2021-10-23 21:55:57 -04:00
Camille GILLOT
fd9c04fe32
Move the dataflow framework to its own crate.
2021-09-07 19:57:07 +02:00