Bring back RubyVM.stat(:global_constant_state)

This was removed as part of [Feature #18589]. But some applications were relying on this behavior. So bringing this back to make it better for backward compatibility going forward.
This commit is contained in:
Kevin Newton 2022-04-04 12:24:06 -04:00 committed by Jean Boussier
parent ea9c09a92c
commit 42000664be
Notes: git 2022-04-05 03:41:30 +09:00
3 changed files with 5 additions and 1 deletions

View file

@ -14,6 +14,7 @@
MJIT_SYMBOL_EXPORT_BEGIN
RUBY_EXTERN VALUE ruby_vm_const_missing_count;
RUBY_EXTERN rb_serial_t ruby_vm_global_constant_state;
RUBY_EXTERN rb_serial_t ruby_vm_class_serial;
RUBY_EXTERN rb_serial_t ruby_vm_global_cvar_state;