diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-12 17:16:27 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-12 17:16:27 +0000 |
commit | 541896130fd47ee3a1142124eea4593d2890b8f0 (patch) | |
tree | 6e48666a2acb43710ace626d15aedff2c2e19746 /vm_core.h | |
parent | 1ee3e9600c906dc9ba37c51108cf91a71de82c98 (diff) | |
download | ruby-541896130fd47ee3a1142124eea4593d2890b8f0.tar.gz ruby-541896130fd47ee3a1142124eea4593d2890b8f0.tar.xz ruby-541896130fd47ee3a1142124eea4593d2890b8f0.zip |
* vm_core.h: change members of iseq_inline_cache_entry.
make cache value members to one union member "ic_value".
* insns.def: ditto.
* vm_insnhelper.c: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -112,9 +112,11 @@ typedef struct rb_compile_option_struct { struct iseq_inline_cache_entry { long ic_vmstat; VALUE ic_class; - VALUE ic_value; - rb_method_entry_t *ic_method; -#define ic_index ic_vmstat + union { + VALUE value; + rb_method_entry_t *method; + long index; + } ic_value; }; #if 1 |