ruby/tool/ruby_vm/models
Koichi Sasada a0f12a0258
Use ID instead of GENTRY for gvars. (#3278)
Use ID instead of GENTRY for gvars.

Global variables are compiled into GENTRY (a pointer to struct
rb_global_entry). This patch replace this GENTRY to ID and
make the code simple.

We need to search GENTRY from ID every time (st_lookup), so
additional overhead will be introduced.
However, the performance of accessing global variables is not
important now a day and this simplicity helps Ractor development.
2020-07-03 16:56:44 +09:00
..
attribute.rb Combine call info and cache to speed up method invocation 2019-10-24 18:03:42 +09:00
bare_instructions.rb Combine call info and cache to speed up method invocation 2019-10-24 18:03:42 +09:00
c_expr.rb delete emacs mode lines [ci skip] 2018-12-27 06:12:09 +00:00
instructions.rb delete emacs mode lines [ci skip] 2018-12-27 06:12:09 +00:00
instructions_unifications.rb delete emacs mode lines [ci skip] 2018-12-27 06:12:09 +00:00
operands_unifications.rb vm.inc now in C99 2019-01-25 14:09:10 +00:00
trace_instructions.rb delete emacs mode lines [ci skip] 2018-12-27 06:12:09 +00:00
typemap.rb Use ID instead of GENTRY for gvars. (#3278) 2020-07-03 16:56:44 +09:00