pub(crate) fn push_breakpoint_start(&mut self, brewery: &mut Brewery<'_>, origin: ExprOrigin) {
        if !origin.synthesized && self.end_block.is_some() {
            if let Some(breakpoint_index) = brewery.expr_is_breakpoint(origin.syntax_expr) {
                let filename = brewery.code().filename(brewery.db());
                let statement = brewery.add(
                    bir::StatementData::BreakpointStart(filename, breakpoint_index),
                    origin,
                );
                self.push_statement(brewery, statement);
            }
        }
    }
/// If `origin` is a breakpoint expression, push a "breakpoint-start"
/// statement onto the current basic block.
If `origin` is a breakpoint expression, push a "breakpoint-start"
statement onto the current basic block.
If ` origin ` is a breakpoint expression push a " breakpoint - start " statement onto the current basic block .
pub(crate) fn push_breakpoint_start(&mut self, brewery: &mut Brewery<'_>, origin: ExprOrigin) {
        if !origin.synthesized && self.end_block.is_some() {
            if let Some(breakpoint_index) = brewery.expr_is_breakpoint(origin.syntax_expr) {
                let filename = brewery.code().filename(brewery.db());
                let statement = brewery.add(
                    bir::StatementData::BreakpointStart(filename, breakpoint_index),
                    origin,
                );
                self.push_statement(brewery, statement);
            }
        }
    }
pub ( crate ) fn push_breakpoint_start ( & mut self , brewery : & mut Brewery < ' _ > , origin : ExprOrigin ) { if ! origin . synthesized && self . end_block . is_some ( ) { if let Some ( breakpoint_index ) = brewery . expr_is_breakpoint ( origin . syntax_expr ) { let filename = brewery . code ( ) . filename ( brewery . db ( ) ) ; let statement = brewery . add ( bir :: StatementData :: BreakpointStart ( filename , breakpoint_index ) , origin , ) ; self . push_statement ( brewery , statement ) ; } } }
If `origin` is a breakpoint expression, push a "breakpoint-start"
statement onto the current basic block.
If ` origin ` is a breakpoint expression push a " breakpoint - start " statement onto the current basic block .
&mut self
brewery
&mut Brewery<'_>
origin
ExprOrigin
&mut self
brewery
&mut Brewery<'_>
origin
ExprOrigin