Data Fields

rb_iseq_struct Struct Reference

#include <vm_core.h>

Data Fields

VALUE type
VALUE name
VALUE filename
VALUE filepath
VALUEiseq
VALUEiseq_encoded
unsigned long iseq_size
VALUE mark_ary
VALUE coverage
unsigned short line_no
struct iseq_insn_info_entryinsn_info_table
size_t insn_info_size
IDlocal_table
int local_table_size
int local_size
struct iseq_inline_cache_entryic_entries
int ic_size
int argc
 argument information
int arg_simple
int arg_rest
int arg_block
int arg_opts
int arg_post_len
int arg_post_start
int arg_size
VALUEarg_opt_table
size_t stack_max
struct iseq_catch_table_entrycatch_table
int catch_table_size
struct rb_iseq_structparent_iseq
struct rb_iseq_structlocal_iseq
VALUE self
VALUE orig
NODEcref_stack
VALUE klass
ID defined_method_id
struct iseq_compile_datacompile_data

Detailed Description

Definition at line 160 of file vm_core.h.


Field Documentation

argument information

def m(a1, a2, ..., aM, # mandatory b1=(...), b2=(...), ..., bN=(...), # optinal *c, # rest d1, d2, ..., dO, # post &e) # block =>

argc = M arg_rest = M+N+1 // or -1 if no rest arg arg_opts = N arg_opts_tbl = [ (N entries) ] arg_post_len = O // 0 if no post arguments arg_post_start = M+N+2 arg_block = M+N + 1 + O + 1 // -1 if no block arg arg_simple = 0 if not simple arguments. = 1 if no opt, rest, post, block. = 2 if ambiguos block parameter ({|a|}). arg_size = argument size.

Definition at line 212 of file vm_core.h.

Referenced by iseq_compile_each(), iseq_data_to_ary(), iseq_set_arguments(), rb_iseq_build_from_ary(), rb_iseq_disasm(), rb_iseq_parameters(), rb_method_entry_arity(), rb_proc_arity(), vm_callee_setup_arg_complex(), vm_yield_setup_args(), vm_yield_setup_block_args(), and vm_yield_setup_block_args_complex().

Definition at line 173 of file vm_core.h.

Referenced by iseq_mark(), and prepare_iseq_build().

Definition at line 248 of file vm_core.h.

Referenced by iseq_mark(), rb_iseq_clone(), set_relation(), and vm_get_cref0().

Definition at line 186 of file vm_core.h.

Referenced by insn_operand_intern(), iseq_data_to_ary(), iseq_free(), and iseq_set_sequence().

unsigned short rb_iseq_struct::line_no

Definition at line 237 of file vm_core.h.

Referenced by iseq_free(), iseq_mark(), iseq_memsize(), and rb_iseq_clone().


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