Normalize `Let` and `LetRec` structure.
(
expr: &mut MirRelationExpr,
features: &OptimizerFeatures,
)
| 35 | |
| 36 | /// Normalize `Let` and `LetRec` structure. |
| 37 | pub fn normalize_lets( |
| 38 | expr: &mut MirRelationExpr, |
| 39 | features: &OptimizerFeatures, |
| 40 | ) -> Result<(), crate::TransformError> { |
| 41 | catch_unwind_optimize(|| NormalizeLets::new(false).action(expr, features)) |
| 42 | } |
| 43 | |
| 44 | /// Install replace certain `Get` operators with their `Let` value. |
| 45 | #[derive(Debug)] |