summaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/vm_core.h b/vm_core.h
index 9728e98a6..6c7624193 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -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