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

IREP Internal REPresentation. More...

#include <vm.h>

Collaboration diagram for IREP:

Data Fields

uint16_t ref_count
 reference counter
uint16_t nregs
 num of register variables
uint16_t rlen
 num of child IREP blocks
uint16_t clen
 num of catch handlers
uint16_t ilen
 num of bytes in OpCode
uint16_t ofs_pools
 offset of data->tbl_pools.
uint16_t ofs_ireps
 offset of data->tbl_ireps. (32bit aligned)
const uint8_t * inst
 pointer to instruction in RITE binary
const uint8_t * pool
 pointer to pool in RITE binary
uint8_t data []

Detailed Description

IREP Internal REPresentation.

Definition at line 42 of file vm.h.

Field Documentation

◆ clen

uint16_t IREP::clen

num of catch handlers

Definition at line 53 of file vm.h.

◆ data

uint8_t IREP::data[]

variable data. (see load.c) mrbc_sym tbl_syms[slen] uint16_t tbl_pools[plen] mrbc_irep *tbl_ireps[rlen]

Definition at line 65 of file vm.h.

◆ ilen

uint16_t IREP::ilen

num of bytes in OpCode

Definition at line 54 of file vm.h.

◆ inst

const uint8_t* IREP::inst

pointer to instruction in RITE binary

Definition at line 62 of file vm.h.

◆ nregs

uint16_t IREP::nregs

num of register variables

Definition at line 51 of file vm.h.

◆ ofs_ireps

uint16_t IREP::ofs_ireps

offset of data->tbl_ireps. (32bit aligned)

Definition at line 60 of file vm.h.

◆ ofs_pools

uint16_t IREP::ofs_pools

offset of data->tbl_pools.

Definition at line 59 of file vm.h.

◆ pool

const uint8_t* IREP::pool

pointer to pool in RITE binary

Definition at line 63 of file vm.h.

◆ ref_count

uint16_t IREP::ref_count

reference counter

Definition at line 47 of file vm.h.

◆ rlen

uint16_t IREP::rlen

num of child IREP blocks

Definition at line 52 of file vm.h.


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