pub type Vm = GVm<()>;
Aliased Type§
struct Vm {Show 17 fields
interner: Interner,
heap: Option<Heap>,
stack: *mut Value,
registers: *mut Value,
globals: Globals,
builtins: Vec<CallFunc<()>>,
this_fn: Option<Value>,
on_error: Option<Value>,
err_frame: Option<CallFrame>,
stack_top: usize,
k_stack_top: Option<usize>,
stack_max: usize,
ip_ptr: *const u8,
current_ip_ptr: *const u8,
callframe_id: usize,
defers: Vec<Value>,
env: (),
}
Fields§
§interner: Interner
§heap: Option<Heap>
§stack: *mut Value
§registers: *mut Value
§globals: Globals
§builtins: Vec<CallFunc<()>>
§this_fn: Option<Value>
§on_error: Option<Value>
§err_frame: Option<CallFrame>
§stack_top: usize
§k_stack_top: Option<usize>
§stack_max: usize
§ip_ptr: *const u8
§current_ip_ptr: *const u8
§callframe_id: usize
§defers: Vec<Value>
§env: ()