Skip to main content

## is_call_like

# Function is_call_like

Source

    pub(crate) fn is_call_like(terminator: &Terminator<'_>) -> bool

Expand description

A terminator that’s more call-like (might do a bunch of work, might panic, etc) than it is goto-/return-like (no side effects, etc).

Used to treat multi-call functions (which could inline exponentially) different from those that only do one or none of these “complex” things.