mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Moved vm_empty_cc to local in vm.c [Bug #16934]
As it is referenced only from compile.c, except for MJIT, simply use the accessor function.
This commit is contained in:
parent
33ca2d386b
commit
8b22fd27f1
1 changed files with 1 additions and 1 deletions
2
vm.c
2
vm.c
|
@ -386,7 +386,7 @@ rb_serial_t ruby_vm_global_method_state = 1;
|
|||
rb_serial_t ruby_vm_global_constant_state = 1;
|
||||
rb_serial_t ruby_vm_class_serial = 1;
|
||||
|
||||
const struct rb_callcache *vm_empty_cc;
|
||||
static const struct rb_callcache *vm_empty_cc;
|
||||
|
||||
static void thread_free(void *ptr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue