abstract class Savi::Compiler::CodeGen::GenFunc::CallingConvention

Direct Known Subclasses

Defined in:

savi/compiler/code_gen/gen_func.cr

Instance Method Summary

Instance Method Detail

abstract def can_error? : Bool #

[View source]
def gen_error_return(g : CodeGen, gfunc : GenFunc, value : LLVM::Value | Nil, value_expr : AST::Node | Nil, continue_current_value : Bool) #

[View source]
abstract def gen_return(g : CodeGen, gfunc : GenFunc, value : LLVM::Value, value_expr : AST::Node | Nil) #

[View source]
def gen_yield_return(g : CodeGen, gfunc : GenFunc, yield_index : Int32, values : Array(LLVM::Value), value_exprs : Array(AST::Node | Nil)) #

[View source]
abstract def llvm_func_ret_type(g : CodeGen, gfunc : GenFunc) : LLVM::Type #

[View source]
abstract def needs_continuation? : Bool #

[View source]