pub(super) fn optimise_expr( c: &mut Compiler<'_, '_>, slot: LocalIdx, expr: Expr, ) -> Expr
Optimise the given expression where possible.