class JIS2::Assembler

Defined in:

jis2/assembler.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(module __arg0 : Module) #

[View source]

Instance Method Detail

def add_clobber(reg : Symbol) #

[View source]
def allocate_temporary_register : Symbol #

[View source]
def append(s : String) : Nil #

[View source]
def asmout(*s, comment : String | Nil = nil) : Nil #

[View source]
def asmstr(*s, comment : String | Nil = nil) : String #

[View source]
def assemble(fn : FunctionDefinition) #

[View source]
def assemble_body(body : Array(Statement)) #

[View source]
def cur_body : String #

[View source]
def declare(tn : TypeName) #

[View source]
def end_scope : Scope #

[View source]
def find_var(name : String) : NamedTuple(type: Type, scope: Scope) #

[View source]
def label(s : String) #

[View source]
def label(fn : FunctionDefinition, *, ret : Bool = false) #

[View source]
def label(*, fn : String, ret : Bool = false) #

[View source]
def local_label(description : String | Nil = nil) #

[View source]
def local_offset(name : String) #

[View source]
def new_scope(name : String | Nil = nil, is_args : Bool = false) #

[View source]
def release_clobber(reg : Symbol) #

[View source]
def to_type(i) : Type #

[View source]
def to_value(ex : Expression, dest = :k) #

[View source]
def type_size(t : Type) #

[View source]