Skip to content

Commit fe21d78

Browse files
committed
update comment in the interest of precision
1 parent 475bde3 commit fe21d78

File tree

1 file changed

+10
-6
lines changed
  • src/librustc_mir/dataflow

1 file changed

+10
-6
lines changed

src/librustc_mir/dataflow/mod.rs

+10-6
Original file line numberDiff line numberDiff line change
@@ -461,14 +461,18 @@ pub struct AllSets<E: Idx> {
461461
/// equal to bits_per_block / (mem::size_of::<Word> * 8), rounded up.
462462
words_per_block: usize,
463463

464-
/// For each block, bits generated by executing the statements in
465-
/// the block. (For comparison, the Terminator for each block is
466-
/// handled in a flow-specific manner during propagation.)
464+
/// For each block, bits generated by executing the statements +
465+
/// terminator in the block -- with one caveat. In particular, for
466+
/// *call terminators*, the effect of storing the destination is
467+
/// not included, since that only takes effect on the **success**
468+
/// edge (and not the unwind edge).
467469
gen_sets: Bits<E>,
468470

469-
/// For each block, bits killed by executing the statements in the
470-
/// block. (For comparison, the Terminator for each block is
471-
/// handled in a flow-specific manner during propagation.)
471+
/// For each block, bits killed by executing the statements +
472+
/// terminator in the block -- with one caveat. In particular, for
473+
/// *call terminators*, the effect of storing the destination is
474+
/// not included, since that only takes effect on the **success**
475+
/// edge (and not the unwind edge).
472476
kill_sets: Bits<E>,
473477

474478
/// For each block, bits valid on entry to the block.

0 commit comments

Comments
 (0)