зеркало из https://github.com/github/ruby.git
a0f12a0258
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 |