diff options
author | Koichi Sasada <ko1@atdot.net> | 2020-10-14 16:09:33 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2020-10-14 23:15:21 +0900 |
commit | 278450de803c59137fff69c4db03cd40c5b5d08a (patch) | |
tree | 72d93586be90df21508721f81f1c771a9a510cd3 /vm_insnhelper.h | |
parent | fad97f1f96caf11005a5858a29d32c66203913e8 (diff) |
ruby_vm_global_method_state is no longer needed.
Now ruby_vm_global_method_state is not used so let's remove it.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3657
Diffstat (limited to 'vm_insnhelper.h')
-rw-r--r-- | vm_insnhelper.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h index 40c32256c5..11785a5e1a 100644 --- a/vm_insnhelper.h +++ b/vm_insnhelper.h @@ -14,7 +14,6 @@ RUBY_SYMBOL_EXPORT_BEGIN RUBY_EXTERN VALUE ruby_vm_const_missing_count; -RUBY_EXTERN rb_serial_t ruby_vm_global_method_state; RUBY_EXTERN rb_serial_t ruby_vm_global_constant_state; RUBY_EXTERN rb_serial_t ruby_vm_class_serial; @@ -178,8 +177,6 @@ CC_SET_FASTPATH(const struct rb_callcache *cc, vm_call_handler func, bool enable #define PREV_CLASS_SERIAL() (ruby_vm_class_serial) #define NEXT_CLASS_SERIAL() (++ruby_vm_class_serial) -#define GET_GLOBAL_METHOD_STATE() (ruby_vm_global_method_state) -#define INC_GLOBAL_METHOD_STATE() (++ruby_vm_global_method_state) #define GET_GLOBAL_CONSTANT_STATE() (ruby_vm_global_constant_state) #define INC_GLOBAL_CONSTANT_STATE() (++ruby_vm_global_constant_state) |