Function come::ir::function::statement::call::from_ast

source ·
pub fn from_ast(
    ast: &FunctionCall,
    ctx: &mut IRGeneratingContext<'_>
) -> RegisterName
Expand description

Generate a Call from an ast::expression::FunctionCall, and append it to the current basic block. Return a RegisterName which contains the result.