1
Fork 0
rust/compiler/rustc_mir_dataflow/src/framework
Matthias Krüger d182081de1
Rollup merge of #99027 - tmiasko:basic-blocks, r=oli-obk
Replace `Body::basic_blocks()` with field access

Since the refactoring in #98930, it is possible to borrow the basic blocks
independently from other parts of MIR by accessing the `basic_blocks` field
directly.

Replace unnecessary `Body::basic_blocks()` method with a direct field access,
which has an additional benefit of borrowing the basic blocks only.
2022-08-29 06:34:43 +02:00
..
cursor.rs Change Direction::{is_forward,is_backward} functions into constants 2022-06-07 17:02:55 +02:00
direction.rs Move switch_sources from Body to BasicBlocks 2022-07-07 08:11:49 +02:00
engine.rs Rollup merge of #99027 - tmiasko:basic-blocks, r=oli-obk 2022-08-29 06:34:43 +02:00
fmt.rs Fix -Zdump-mir-dataflow by implementing DebugWithContext for ChunkedBitSet 2022-04-30 16:40:54 +02:00
graphviz.rs Replace Body::basic_blocks() with field access 2022-08-26 14:27:08 +02:00
lattice.rs Edit rustc_mir_dataflow::framework::lattice::FlatSet docs 2022-07-05 11:34:39 -05:00
mod.rs use type alias impl trait in outlives_bounds::InferCtxtExt 2022-08-22 18:10:28 +08:00
tests.rs Replace Body::basic_blocks() with field access 2022-08-26 14:27:08 +02:00
visitor.rs Remove in_band_lifetimes from rustc_mir_dataflow 2021-12-16 14:29:43 -05:00