Ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e0ba6b95ab71a441357ed5484e33498)
Data Structures | Public Types | Data Fields
rb_iseq_constant_body Struct Reference

Data Structures

struct  iseq_insn_info
 

Public Types

enum  iseq_type {
  ISEQ_TYPE_TOP , ISEQ_TYPE_METHOD , ISEQ_TYPE_BLOCK , ISEQ_TYPE_CLASS ,
  ISEQ_TYPE_RESCUE , ISEQ_TYPE_ENSURE , ISEQ_TYPE_EVAL , ISEQ_TYPE_MAIN ,
  ISEQ_TYPE_PLAIN , ISEQ_TYPE_TOP , ISEQ_TYPE_METHOD , ISEQ_TYPE_BLOCK ,
  ISEQ_TYPE_CLASS , ISEQ_TYPE_RESCUE , ISEQ_TYPE_ENSURE , ISEQ_TYPE_EVAL ,
  ISEQ_TYPE_MAIN , ISEQ_TYPE_PLAIN
}
 
enum  iseq_type {
  ISEQ_TYPE_TOP , ISEQ_TYPE_METHOD , ISEQ_TYPE_BLOCK , ISEQ_TYPE_CLASS ,
  ISEQ_TYPE_RESCUE , ISEQ_TYPE_ENSURE , ISEQ_TYPE_EVAL , ISEQ_TYPE_MAIN ,
  ISEQ_TYPE_PLAIN , ISEQ_TYPE_TOP , ISEQ_TYPE_METHOD , ISEQ_TYPE_BLOCK ,
  ISEQ_TYPE_CLASS , ISEQ_TYPE_RESCUE , ISEQ_TYPE_ENSURE , ISEQ_TYPE_EVAL ,
  ISEQ_TYPE_MAIN , ISEQ_TYPE_PLAIN
}
 

Data Fields

enum rb_iseq_constant_body::iseq_type type
 
unsigned int iseq_size
 
VALUEiseq_encoded
 
struct {
   struct {
      unsigned int   has_lead: 1
 
      unsigned int   has_opt: 1
 
      unsigned int   has_rest: 1
 
      unsigned int   has_post: 1
 
      unsigned int   has_kw: 1
 
      unsigned int   has_kwrest: 1
 
      unsigned int   has_block: 1
 
      unsigned int   ambiguous_param0: 1
 
      unsigned int   accepts_no_kwarg: 1
 
      unsigned int   ruby2_keywords: 1
 
   }   flags
 
   unsigned int   size
 
   int   lead_num
 
   int   opt_num
 
   int   rest_start
 
   int   post_start
 
   int   post_num
 
   int   block_start
 
   const VALUE *   opt_table
 
   struct rb_iseq_param_keyword {
      int   num
 
      int   required_num
 
      int   bits_start
 
      int   rest_start
 
      const ID *   table
 
      VALUE *   default_values
 
   }   keyword
 
param
 
rb_iseq_location_t location
 
struct rb_iseq_constant_body::iseq_insn_info insns_info
 
const IDlocal_table
 
struct iseq_catch_tablecatch_table
 
const struct rb_iseq_structparent_iseq
 
struct rb_iseq_structlocal_iseq
 
union iseq_inline_storage_entryis_entries
 
struct rb_call_datacall_data
 
struct {
   rb_snum_t   flip_count
 
   VALUE   script_lines
 
   VALUE   coverage
 
   VALUE   pc2branchindex
 
   VALUE *   original_iseq
 
variable
 
unsigned int local_table_size
 
unsigned int is_size
 
unsigned int ci_size
 
unsigned int stack_max
 
char catch_except_p
 
_Bool builtin_inline_p
 
struct rb_id_tableouter_variables
 
const rb_iseq_tmandatory_only_iseq
 
VALUE(* jit_func )(struct rb_execution_context_struct *, struct rb_control_frame_struct *)
 
long unsigned total_calls
 
struct rb_mjit_unitjit_unit
 
rb_yjit_block_array_array_t yjit_blocks
 
struct {
   struct {
      unsigned int   has_lead: 1
 
      unsigned int   has_opt: 1
 
      unsigned int   has_rest: 1
 
      unsigned int   has_post: 1
 
      unsigned int   has_kw: 1
 
      unsigned int   has_kwrest: 1
 
      unsigned int   has_block: 1
 
      unsigned int   ambiguous_param0: 1
 
      unsigned int   accepts_no_kwarg: 1
 
      unsigned int   ruby2_keywords: 1
 
   }   flags
 
   unsigned int   size
 
   int   lead_num
 
   int   opt_num
 
   int   rest_start
 
   int   post_start
 
   int   post_num
 
   int   block_start
 
   const VALUE *   opt_table
 
   struct rb_iseq_param_keyword {
      int   num
 
      int   required_num
 
      int   bits_start
 
      int   rest_start
 
      const ID *   table
 
      VALUE *   default_values
 
   }   keyword
 
param
 parameter information More...
 
struct {
   rb_snum_t   flip_count
 
   VALUE   script_lines
 
   VALUE   coverage
 
   VALUE   pc2branchindex
 
   VALUE *   original_iseq
 
variable
 
bool builtin_inline_p
 

Detailed Description

Definition at line 7374 of file rb_mjit_min_header-3.1.3.h.

Member Enumeration Documentation

◆ iseq_type [1/2]

enum rb_iseq_constant_body::iseq_type

Definition at line 7375 of file rb_mjit_min_header-3.1.3.h.

◆ iseq_type [2/2]

enum rb_iseq_constant_body::iseq_type

Definition at line 352 of file vm_core.h.

Field Documentation

◆ accepts_no_kwarg

unsigned int rb_iseq_constant_body::accepts_no_kwarg

Definition at line 7398 of file rb_mjit_min_header-3.1.3.h.

◆ ambiguous_param0

unsigned int rb_iseq_constant_body::ambiguous_param0

Definition at line 7397 of file rb_mjit_min_header-3.1.3.h.

◆ bits_start

int rb_iseq_constant_body::bits_start

Definition at line 7412 of file rb_mjit_min_header-3.1.3.h.

◆ block_start

int rb_iseq_constant_body::block_start

Definition at line 7407 of file rb_mjit_min_header-3.1.3.h.

◆ builtin_inline_p [1/2]

_Bool rb_iseq_constant_body::builtin_inline_p

Definition at line 7443 of file rb_mjit_min_header-3.1.3.h.

◆ builtin_inline_p [2/2]

bool rb_iseq_constant_body::builtin_inline_p

Definition at line 482 of file vm_core.h.

◆ call_data

struct rb_call_data * rb_iseq_constant_body::call_data

Definition at line 7430 of file rb_mjit_min_header-3.1.3.h.

◆ catch_except_p

char rb_iseq_constant_body::catch_except_p

Definition at line 7442 of file rb_mjit_min_header-3.1.3.h.

◆ catch_table

struct iseq_catch_table * rb_iseq_constant_body::catch_table

Definition at line 7426 of file rb_mjit_min_header-3.1.3.h.

◆ ci_size

unsigned int rb_iseq_constant_body::ci_size

Definition at line 7440 of file rb_mjit_min_header-3.1.3.h.

◆ coverage

VALUE rb_iseq_constant_body::coverage

Definition at line 7434 of file rb_mjit_min_header-3.1.3.h.

◆ default_values

VALUE* rb_iseq_constant_body::default_values

Definition at line 7415 of file rb_mjit_min_header-3.1.3.h.

◆ flip_count

rb_snum_t rb_iseq_constant_body::flip_count

Definition at line 7432 of file rb_mjit_min_header-3.1.3.h.

◆ has_block

unsigned int rb_iseq_constant_body::has_block

Definition at line 7396 of file rb_mjit_min_header-3.1.3.h.

◆ has_kw

unsigned int rb_iseq_constant_body::has_kw

Definition at line 7394 of file rb_mjit_min_header-3.1.3.h.

◆ has_kwrest

unsigned int rb_iseq_constant_body::has_kwrest

Definition at line 7395 of file rb_mjit_min_header-3.1.3.h.

◆ has_lead

unsigned int rb_iseq_constant_body::has_lead

Definition at line 7390 of file rb_mjit_min_header-3.1.3.h.

◆ has_opt

unsigned int rb_iseq_constant_body::has_opt

Definition at line 7391 of file rb_mjit_min_header-3.1.3.h.

◆ has_post

unsigned int rb_iseq_constant_body::has_post

Definition at line 7393 of file rb_mjit_min_header-3.1.3.h.

◆ has_rest

unsigned int rb_iseq_constant_body::has_rest

Definition at line 7392 of file rb_mjit_min_header-3.1.3.h.

◆ is_entries

union iseq_inline_storage_entry * rb_iseq_constant_body::is_entries

Definition at line 7429 of file rb_mjit_min_header-3.1.3.h.

◆ is_size

unsigned int rb_iseq_constant_body::is_size

Definition at line 7439 of file rb_mjit_min_header-3.1.3.h.

◆ iseq_encoded

VALUE * rb_iseq_constant_body::iseq_encoded

Definition at line 7387 of file rb_mjit_min_header-3.1.3.h.

◆ iseq_size

unsigned int rb_iseq_constant_body::iseq_size

Definition at line 7386 of file rb_mjit_min_header-3.1.3.h.

◆ jit_func

VALUE(* rb_iseq_constant_body::jit_func) (struct rb_execution_context_struct *, struct rb_control_frame_struct *)

Definition at line 7446 of file rb_mjit_min_header-3.1.3.h.

◆ jit_unit

struct rb_mjit_unit* rb_iseq_constant_body::jit_unit

Definition at line 7449 of file rb_mjit_min_header-3.1.3.h.

◆ lead_num

int rb_iseq_constant_body::lead_num

Definition at line 7402 of file rb_mjit_min_header-3.1.3.h.

◆ local_iseq

struct rb_iseq_struct * rb_iseq_constant_body::local_iseq

Definition at line 7428 of file rb_mjit_min_header-3.1.3.h.

◆ local_table

const ID * rb_iseq_constant_body::local_table

Definition at line 7425 of file rb_mjit_min_header-3.1.3.h.

◆ local_table_size

unsigned int rb_iseq_constant_body::local_table_size

Definition at line 7438 of file rb_mjit_min_header-3.1.3.h.

◆ location

rb_iseq_location_t rb_iseq_constant_body::location

Definition at line 7418 of file rb_mjit_min_header-3.1.3.h.

◆ mandatory_only_iseq

const rb_iseq_t * rb_iseq_constant_body::mandatory_only_iseq

Definition at line 7445 of file rb_mjit_min_header-3.1.3.h.

◆ num

int rb_iseq_constant_body::num

Definition at line 7410 of file rb_mjit_min_header-3.1.3.h.

◆ opt_num

int rb_iseq_constant_body::opt_num

Definition at line 7403 of file rb_mjit_min_header-3.1.3.h.

◆ opt_table

const VALUE* rb_iseq_constant_body::opt_table

Definition at line 7408 of file rb_mjit_min_header-3.1.3.h.

◆ original_iseq

VALUE* rb_iseq_constant_body::original_iseq

Definition at line 7436 of file rb_mjit_min_header-3.1.3.h.

◆ outer_variables

struct rb_id_table * rb_iseq_constant_body::outer_variables

Definition at line 7444 of file rb_mjit_min_header-3.1.3.h.

◆ 

struct { ... } rb_iseq_constant_body::param

parameter information

def m(a1, a2, ..., aM, # mandatory b1=(...), b2=(...), ..., bN=(...), # optional *c, # rest d1, d2, ..., dO, # post e1:(...), e2:(...), ..., eK:(...), # keyword **f, # keyword_rest &g) # block =>

lead_num = M opt_num = N rest_start = M+N post_start = M+N+(*1) post_num = O keyword_num = K block_start = M+N+(*1)+O+K keyword_bits = M+N+(*1)+O+K+(&1) size = M+N+O+(*1)+K+(&1)+(**1) // parameter size.

◆ parent_iseq

const struct rb_iseq_struct * rb_iseq_constant_body::parent_iseq

Definition at line 7427 of file rb_mjit_min_header-3.1.3.h.

◆ pc2branchindex

VALUE rb_iseq_constant_body::pc2branchindex

Definition at line 7435 of file rb_mjit_min_header-3.1.3.h.

◆ post_num

int rb_iseq_constant_body::post_num

Definition at line 7406 of file rb_mjit_min_header-3.1.3.h.

◆ post_start

int rb_iseq_constant_body::post_start

Definition at line 7405 of file rb_mjit_min_header-3.1.3.h.

◆ required_num

int rb_iseq_constant_body::required_num

Definition at line 7411 of file rb_mjit_min_header-3.1.3.h.

◆ rest_start

int rb_iseq_constant_body::rest_start

Definition at line 7404 of file rb_mjit_min_header-3.1.3.h.

◆ ruby2_keywords

unsigned int rb_iseq_constant_body::ruby2_keywords

Definition at line 7399 of file rb_mjit_min_header-3.1.3.h.

◆ script_lines

VALUE rb_iseq_constant_body::script_lines

Definition at line 7433 of file rb_mjit_min_header-3.1.3.h.

◆ size

unsigned int rb_iseq_constant_body::size

Definition at line 7401 of file rb_mjit_min_header-3.1.3.h.

◆ stack_max

unsigned int rb_iseq_constant_body::stack_max

Definition at line 7441 of file rb_mjit_min_header-3.1.3.h.

◆ table

const ID* rb_iseq_constant_body::table

Definition at line 7414 of file rb_mjit_min_header-3.1.3.h.

◆ total_calls

long unsigned rb_iseq_constant_body::total_calls

Definition at line 7448 of file rb_mjit_min_header-3.1.3.h.

◆ yjit_blocks

rb_yjit_block_array_array_t rb_iseq_constant_body::yjit_blocks

Definition at line 7450 of file rb_mjit_min_header-3.1.3.h.


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