diff options
author | Kevin Newton <kddnewton@gmail.com> | 2022-04-04 12:24:06 -0400 |
---|---|---|
committer | Jean Boussier <jean.boussier@gmail.com> | 2022-04-04 20:41:05 +0200 |
commit | 42000664be43f8c70322557703003b9141cfb28f (patch) | |
tree | d9e7a2366271070894e10c3bbe122745e5270505 /vm_insnhelper.h | |
parent | ea9c09a92c770e9e3cb0f5ceafd42c8407836f7e (diff) |
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.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5758
Diffstat (limited to 'vm_insnhelper.h')
-rw-r--r-- | vm_insnhelper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h index e26ecfa77c..5506fca4d6 100644 --- a/vm_insnhelper.h +++ b/vm_insnhelper.h @@ -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; |