summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorcharliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-09 03:46:48 +0000
committercharliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-09 03:46:48 +0000
commit1546fb6c005389b391bd1db54135357331a52f77 (patch)
tree460a2c88082b49562d3b0ab455fa6e1db99043c6 /vm_core.h
parent8b0771b0142dffb45dd0d7fc18f6c2868eeb2b3b (diff)
* 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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/vm_core.h b/vm_core.h
index 4bb5cc2976..44f871dd6f 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -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;