Skip to content

Commit 0f6f641

Browse files
committed
Explicit notation.
1 parent 48c38bd commit 0f6f641

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler/rustc_mir_transform/src/jump_threading.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
//! if assigning anything different from `value` to `place` turns the `SwitchInt`
1818
//! into `Goto { target }`.
1919
//!
20+
//! In this file, we denote as `place ?= value` the existence of a replacement condition
21+
//! on `place` with given `value`.
22+
//!
2023
//! We then walk the CFG backwards transforming the set of conditions.
2124
//! When we find a fulfilling assignment, we record a `ThreadingOpportunity`.
2225
//! All `ThreadingOpportunity`s are applied to the body, by duplicating blocks if required.

0 commit comments

Comments
 (0)