diff options
author | charliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-09 03:46:48 +0000 |
---|---|---|
committer | charliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-09 03:46:48 +0000 |
commit | 1546fb6c005389b391bd1db54135357331a52f77 (patch) | |
tree | 460a2c88082b49562d3b0ab455fa6e1db99043c6 /vm_core.h | |
parent | 8b0771b0142dffb45dd0d7fc18f6c2868eeb2b3b (diff) | |
download | ruby-1546fb6c005389b391bd1db54135357331a52f77.tar.gz |
* insns.def: unify ic_constant_serial and ic_class_serial into one field
ic_serial. This is possible because these fields are only ever used
exclusively with each other.
* insns.def: ditto
* vm_core.h: ditto
* vm_insnhelper.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -131,8 +131,7 @@ typedef struct rb_compile_option_struct rb_compile_option_t; struct iseq_inline_cache_entry { - rb_serial_t ic_constant_serial; - rb_serial_t ic_class_serial; + rb_serial_t ic_serial; union { size_t index; VALUE value; |