mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
RJIT: Stop allowing leaked globals rjit_*
This commit is contained in:
parent
a0918a4a80
commit
f5909ac6d9
10 changed files with 74 additions and 74 deletions
2
rjit_c.c
2
rjit_c.c
|
@ -165,7 +165,7 @@ dump_disasm(rb_execution_context_t *ec, VALUE self, VALUE from, VALUE to)
|
|||
static VALUE
|
||||
rjit_enabled_p(rb_execution_context_t *ec, VALUE self)
|
||||
{
|
||||
return RBOOL(rjit_enabled);
|
||||
return RBOOL(rb_rjit_enabled);
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue