diff options
author | charliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-09 03:34:49 +0000 |
---|---|---|
committer | charliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-09 03:34:49 +0000 |
commit | 8b0771b0142dffb45dd0d7fc18f6c2868eeb2b3b (patch) | |
tree | 67a47790585d2517bc2846b0ebf1ff429a766634 /vm_insnhelper.h | |
parent | 5d663cc2d31fd1e8a0beeadd60be8b6558a826b6 (diff) |
* class.c: unify names of vm state version counters to 'serial'.
This includes renaming 'vm_state_version_t' to 'rb_serial_t',
'method_state' to 'method_serial', 'seq' to 'class_serial',
'vmstat' to 'constant_serial', etc.
* insns.def: ditto
* internal.h: ditto
* vm.c: ditto
* vm_core.h: ditto
* vm_insnhelper.c: ditto
* vm_insnhelper.h: ditto
* vm_method.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.h')
-rw-r--r-- | vm_insnhelper.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h index 674e6cad64..8870fca47c 100644 --- a/vm_insnhelper.h +++ b/vm_insnhelper.h @@ -259,11 +259,11 @@ enum vm_regan_acttype { CALL_METHOD(ci); \ } while (0) -#define NEXT_CLASS_SEQUENCE() (++ruby_vm_sequence) -#define GET_METHOD_STATE_VERSION() (ruby_vm_method_state_version) -#define INC_METHOD_STATE_VERSION() (++ruby_vm_method_state_version) -#define GET_CONSTANT_STATE_VERSION() (ruby_vm_constant_state_version) -#define INC_CONSTANT_STATE_VERSION() (++ruby_vm_constant_state_version) +#define NEXT_CLASS_SERIAL() (++ruby_vm_class_serial) +#define GET_METHOD_SERIAL() (ruby_vm_method_serial) +#define INC_METHOD_SERIAL() (++ruby_vm_method_serial) +#define GET_CONSTANT_SERIAL() (ruby_vm_constant_serial) +#define INC_CONSTANT_SERIAL() (++ruby_vm_constant_serial) static VALUE make_no_method_exception(VALUE exc, const char *format, VALUE obj, int argc, const VALUE *argv); |