mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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. |
||
|---|---|---|
| .. | ||
| attribute.rb | ||
| bare_instructions.rb | ||
| c_expr.rb | ||
| instructions.rb | ||
| instructions_unifications.rb | ||
| operands_unifications.rb | ||
| trace_instructions.rb | ||
| typemap.rb | ||