Struct gluon_vm::compiler::CompiledFunction
[−]
[src]
pub struct CompiledFunction { pub args: VmIndex, pub max_stack_size: VmIndex, pub id: Symbol, pub typ: ArcType, pub instructions: Vec<Instruction>, pub inner_functions: Vec<CompiledFunction>, pub strings: Vec<InternedStr>, pub module_globals: Vec<Symbol>, pub records: Vec<Vec<Symbol>>, pub debug_info: DebugInfo, }
Fields
args: VmIndex
max_stack_size: VmIndex
The maximum possible number of stack slots needed for this function
id: Symbol
typ: ArcType
instructions: Vec<Instruction>
inner_functions: Vec<CompiledFunction>
strings: Vec<InternedStr>
module_globals: Vec<Symbol>
Storage for globals which are needed by the module which is currently being compiled
records: Vec<Vec<Symbol>>
debug_info: DebugInfo
Methods
impl CompiledFunction
[src]
fn new(args: VmIndex,
id: Symbol,
typ: ArcType,
source_name: String)
-> CompiledFunction
id: Symbol,
typ: ArcType,
source_name: String)
-> CompiledFunction