cairo_lang_sierra_to_casm::invocations

Function compile_invocation

source
pub fn compile_invocation(
    program_info: ProgramInfo<'_>,
    invocation: &Invocation,
    libfunc: &CoreConcreteLibfunc,
    idx: StatementIdx,
    refs: &[ReferenceValue],
    environment: Environment,
) -> Result<CompiledInvocation, InvocationError>
Expand description

Given a Sierra invocation statement and concrete libfunc, creates a compiled casm representation of the Sierra statement.