class JIS2::Assembler
- JIS2::Assembler
- Reference
- Object
Defined in:
jis2/assembler.crConstructors
Instance Method Summary
- #add_clobber(reg : Symbol)
- #allocate_temporary_register : Symbol
- #append(s : String) : Nil
- #asmout(*s, comment : String | Nil = nil) : Nil
- #asmstr(*s, comment : String | Nil = nil) : String
- #assemble(fn : FunctionDefinition)
- #assemble_body(body : Array(Statement))
- #cur_body : String
- #declare(tn : TypeName)
- #end_scope : Scope
- #find_var(name : String) : NamedTuple(type: Type, scope: Scope)
- #label(s : String)
- #label(fn : FunctionDefinition, *, ret : Bool = false)
- #label(*, fn : String, ret : Bool = false)
- #local_label(description : String | Nil = nil)
- #local_offset(name : String)
- #new_scope(name : String | Nil = nil, is_args : Bool = false)
- #release_clobber(reg : Symbol)
- #to_type(i) : Type
- #to_value(ex : Expression, dest = :k)
- #type_size(t : Type)