Data Structures | Defines | Functions

iseq.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  iseq_insn_info_entry
struct  iseq_catch_table_entry
struct  iseq_compile_data_storage
struct  iseq_compile_data

Defines

#define ISEQ_TYPE_TOP   INT2FIX(1)
#define ISEQ_TYPE_METHOD   INT2FIX(2)
#define ISEQ_TYPE_BLOCK   INT2FIX(3)
#define ISEQ_TYPE_CLASS   INT2FIX(4)
#define ISEQ_TYPE_RESCUE   INT2FIX(5)
#define ISEQ_TYPE_ENSURE   INT2FIX(6)
#define ISEQ_TYPE_EVAL   INT2FIX(7)
#define ISEQ_TYPE_MAIN   INT2FIX(8)
#define ISEQ_TYPE_DEFINED_GUARD   INT2FIX(9)
#define CATCH_TYPE_RESCUE   ((int)INT2FIX(1))
#define CATCH_TYPE_ENSURE   ((int)INT2FIX(2))
#define CATCH_TYPE_RETRY   ((int)INT2FIX(3))
#define CATCH_TYPE_BREAK   ((int)INT2FIX(4))
#define CATCH_TYPE_REDO   ((int)INT2FIX(5))
#define CATCH_TYPE_NEXT   ((int)INT2FIX(6))
#define INITIAL_ISEQ_COMPILE_DATA_STORAGE_BUFF_SIZE   (512)
#define DEFINED_IVAR   INT2FIX(1)
#define DEFINED_IVAR2   INT2FIX(2)
#define DEFINED_GVAR   INT2FIX(3)
#define DEFINED_CVAR   INT2FIX(4)
#define DEFINED_CONST   INT2FIX(5)
#define DEFINED_METHOD   INT2FIX(6)
#define DEFINED_YIELD   INT2FIX(7)
#define DEFINED_REF   INT2FIX(8)
#define DEFINED_ZSUPER   INT2FIX(9)
#define DEFINED_FUNC   INT2FIX(10)

Functions

VALUE rb_iseq_compile_node (VALUE self, NODE *node)
int rb_iseq_translate_threaded_code (rb_iseq_t *iseq)
VALUE rb_iseq_build_from_ary (rb_iseq_t *iseq, VALUE locals, VALUE args, VALUE exception, VALUE body)
VALUE rb_iseq_load (VALUE data, VALUE parent, VALUE opt)
struct st_tableruby_insn_make_insn_table (void)

Define Documentation

#define CATCH_TYPE_BREAK   ((int)INT2FIX(4))
#define CATCH_TYPE_ENSURE   ((int)INT2FIX(2))

Definition at line 36 of file iseq.h.

Referenced by catch_type(), exception_type2symbol(), iseq_compile_each(), and vm_exec().

#define CATCH_TYPE_NEXT   ((int)INT2FIX(6))
#define CATCH_TYPE_REDO   ((int)INT2FIX(5))

Definition at line 39 of file iseq.h.

Referenced by catch_type(), exception_type2symbol(), iseq_compile_each(), and rb_iseq_compile_node().

#define CATCH_TYPE_RESCUE   ((int)INT2FIX(1))
#define CATCH_TYPE_RETRY   ((int)INT2FIX(3))

Definition at line 37 of file iseq.h.

Referenced by catch_type(), exception_type2symbol(), iseq_compile_each(), and vm_exec().

#define DEFINED_CONST   INT2FIX(5)

Definition at line 97 of file iseq.h.

Referenced by defined_expr().

#define DEFINED_CVAR   INT2FIX(4)

Definition at line 96 of file iseq.h.

Referenced by defined_expr().

#define DEFINED_FUNC   INT2FIX(10)

Definition at line 102 of file iseq.h.

Referenced by defined_expr().

#define DEFINED_GVAR   INT2FIX(3)

Definition at line 95 of file iseq.h.

Referenced by defined_expr().

#define DEFINED_IVAR   INT2FIX(1)

Definition at line 93 of file iseq.h.

Referenced by defined_expr().

#define DEFINED_IVAR2   INT2FIX(2)

Definition at line 94 of file iseq.h.

#define DEFINED_METHOD   INT2FIX(6)

Definition at line 98 of file iseq.h.

Referenced by defined_expr().

#define DEFINED_REF   INT2FIX(8)

Definition at line 100 of file iseq.h.

Referenced by defined_expr().

#define DEFINED_YIELD   INT2FIX(7)

Definition at line 99 of file iseq.h.

Referenced by defined_expr().

#define DEFINED_ZSUPER   INT2FIX(9)

Definition at line 101 of file iseq.h.

Referenced by defined_expr().

#define INITIAL_ISEQ_COMPILE_DATA_STORAGE_BUFF_SIZE   (512)

Definition at line 57 of file iseq.h.

Referenced by prepare_iseq_build().

#define ISEQ_TYPE_BLOCK   INT2FIX(3)
#define ISEQ_TYPE_CLASS   INT2FIX(4)
#define ISEQ_TYPE_DEFINED_GUARD   INT2FIX(9)

Definition at line 33 of file iseq.h.

Referenced by defined_expr(), iseq_data_to_ary(), iseq_load(), and rb_iseq_compile_node().

#define ISEQ_TYPE_ENSURE   INT2FIX(6)
#define ISEQ_TYPE_EVAL   INT2FIX(7)
#define ISEQ_TYPE_MAIN   INT2FIX(8)
#define ISEQ_TYPE_METHOD   INT2FIX(2)
#define ISEQ_TYPE_RESCUE   INT2FIX(5)
#define ISEQ_TYPE_TOP   INT2FIX(1)

Function Documentation

VALUE rb_iseq_build_from_ary ( rb_iseq_t iseq,
VALUE  locals,
VALUE  args,
VALUE  exception,
VALUE  body 
)
VALUE rb_iseq_compile_node ( VALUE  self,
NODE node 
)
VALUE rb_iseq_load ( VALUE  data,
VALUE  parent,
VALUE  opt 
)

Definition at line 531 of file iseq.c.

References iseq_load(), and rb_cISeq.

Referenced by iseq_build_body(), and iseq_build_exception().

int rb_iseq_translate_threaded_code ( rb_iseq_t iseq  ) 
struct st_table* ruby_insn_make_insn_table ( void   )  [read]