diff options
Diffstat (limited to 'method.h')
-rw-r--r-- | method.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -132,8 +132,9 @@ typedef struct rb_iseq_struct rb_iseq_t; #endif typedef struct rb_method_iseq_struct { - rb_iseq_t * iseqptr; /*!< iseq pointer, should be separated from iseqval */ + const rb_iseq_t * iseqptr; /*!< iseq pointer, should be separated from iseqval */ rb_cref_t * cref; /*!< class reference, should be marked */ + const rb_callable_method_entry_t *mandatory_only_cme; } rb_method_iseq_t; /* check rb_add_method_iseq() when modify the fields */ typedef struct rb_method_cfunc_struct { @@ -171,7 +172,8 @@ enum method_optimized_type { struct rb_method_definition_struct { BITFIELD(rb_method_type_t, type, VM_METHOD_TYPE_MINIMUM_BITS); - int alias_count : 28; + unsigned int iseq_overload: 1; + int alias_count : 27; int complemented_count : 28; union { |