mruby/c VM Source Code release 3.4
Loading...
Searching...
No Matches
VM Struct Reference

Virtual Machine. More...

#include <vm.h>

Collaboration diagram for VM:

Data Fields

uint8_t vm_id
 vm_id : 1..MAX_VM_COUNT
volatile int8_t flag_preemption
unsigned int flag_need_memfree: 1
unsigned int flag_stop: 1
unsigned int flag_permanence: 1
uint16_t regs_size
 size of regs[]
mrbc_ireptop_irep
 IREP tree top.
const mrbc_irepcur_irep
 IREP currently running.
const uint8_t * inst
 Instruction pointer.
mrbc_valuecur_regs
 Current register top.
mrbc_classtarget_class
 Target class.
mrbc_callinfocallinfo_tail
 Last point of CALLINFO link.
mrbc_procret_blk
 Return block.
mrbc_value exception
 Raised exception or nil.
mrbc_value regs []

Detailed Description

Virtual Machine.

Definition at line 140 of file vm.h.

Field Documentation

◆ callinfo_tail

mrbc_callinfo* VM::callinfo_tail

Last point of CALLINFO link.

Definition at line 157 of file vm.h.

◆ cur_irep

const mrbc_irep* VM::cur_irep

IREP currently running.

Definition at line 153 of file vm.h.

◆ cur_regs

mrbc_value* VM::cur_regs

Current register top.

Definition at line 155 of file vm.h.

◆ exception

mrbc_value VM::exception

Raised exception or nil.

Definition at line 160 of file vm.h.

◆ flag_need_memfree

unsigned int VM::flag_need_memfree

Definition at line 146 of file vm.h.

◆ flag_permanence

unsigned int VM::flag_permanence

Definition at line 148 of file vm.h.

◆ flag_preemption

volatile int8_t VM::flag_preemption

Definition at line 145 of file vm.h.

◆ flag_stop

unsigned int VM::flag_stop

Definition at line 147 of file vm.h.

◆ inst

const uint8_t* VM::inst

Instruction pointer.

Definition at line 154 of file vm.h.

◆ regs

mrbc_value VM::regs[]

Definition at line 161 of file vm.h.

◆ regs_size

uint16_t VM::regs_size

size of regs[]

Definition at line 150 of file vm.h.

◆ ret_blk

mrbc_proc* VM::ret_blk

Return block.

Definition at line 158 of file vm.h.

◆ target_class

mrbc_class* VM::target_class

Target class.

Definition at line 156 of file vm.h.

◆ top_irep

mrbc_irep* VM::top_irep

IREP tree top.

Definition at line 152 of file vm.h.

◆ vm_id

uint8_t VM::vm_id

vm_id : 1..MAX_VM_COUNT

Definition at line 144 of file vm.h.


The documentation for this struct was generated from the following file: