зеркало из https://github.com/github/ruby.git
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:
Родитель
33ca2d386b
Коммит
8b22fd27f1
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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче