class Savi::Compiler::CodeGen::ContinuationInfo

Defined in:

savi/compiler/code_gen/continuation_info.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail


[View source]

Class Method Detail

def self.virtual_struct_type(g, concrete_gfuncs) #

[View source]

Instance Method Detail

def call_index_for_yielding_call_cont(call : AST::Call) #

[View source]
def check_is_error(cont : LLVM::Value) #

[View source]
def check_is_finished(cont : LLVM::Value) #

[View source]
def each_struct_index_for_yielding_call_conts #

[View source]
def get_final_return(cont : LLVM::Value) #

[View source]
def get_next_yield_index(cont : LLVM::Value) #

[View source]
def get_yield_out(cont : LLVM::Value) #

[View source]
def jump_according_to_next_yield_index(frame : Frame, after_yield_blocks) #

[View source]
def nested_cont_struct_types #

[View source]
def on_func_start(frame : Frame, is_continue : Bool) #

[View source]
def set_as_error(cont : LLVM::Value) #

[View source]
def set_as_finished(cont : LLVM::Value) #

[View source]
def set_final_return(cont : LLVM::Value, value : LLVM::Value) #

[View source]
def set_next_yield_index(cont : LLVM::Value, next_yield_index : Int32) #

[View source]
def set_yield_out(cont : LLVM::Value, value : LLVM::Value) #

[View source]
def struct_element_types #

[View source]
def struct_gep_for_final_return(cont : LLVM::Value) #

[View source]
def struct_gep_for_local(cont : LLVM::Value, ref : Refer::Local) #

[View source]
def struct_gep_for_next_yield_index(cont : LLVM::Value) #

[View source]
def struct_gep_for_yield_out(cont : LLVM::Value) #

[View source]
def struct_gep_for_yielding_call_cont(cont : LLVM::Value, call : AST::Call) #

[View source]
def struct_gep_for_yielding_call_receiver(cont : LLVM::Value, call : AST::Call) #

[View source]
def struct_index_for_yielding_call_cont(call : AST::Call) #

[View source]
def struct_type #

[View source]
def struct_type_for_yield_out #

[View source]
def yield_in_llvm_type #

[View source]
def yield_in_type #

[View source]