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_core.h | |
parent | 5d663cc2d31fd1e8a0beeadd60be8b6558a826b6 (diff) | |
download | ruby-8b0771b0142dffb45dd0d7fc18f6c2868eeb2b3b.tar.gz |
* 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_core.h')
-rw-r--r-- | vm_core.h | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -131,9 +131,8 @@ typedef struct rb_compile_option_struct rb_compile_option_t; struct iseq_inline_cache_entry { - vm_state_version_t ic_vmstat; - vm_state_version_t ic_seq; - VALUE ic_class; + rb_serial_t ic_constant_serial; + rb_serial_t ic_class_serial; union { size_t index; VALUE value; @@ -162,8 +161,8 @@ typedef struct rb_call_info_struct { rb_iseq_t *blockiseq; /* inline cache: keys */ - vm_state_version_t method_state; - vm_state_version_t seq; + rb_serial_t method_serial; + rb_serial_t class_serial; VALUE klass; /* inline cache: values */ |