diff options
Diffstat (limited to 'vm_insnhelper.h')
-rw-r--r-- | vm_insnhelper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h index 1a3dbc0326..18a670bf14 100644 --- a/vm_insnhelper.h +++ b/vm_insnhelper.h @@ -132,7 +132,7 @@ static inline void CC_SET_ME(CALL_CACHE cc, const rb_callable_method_entry_t *me) { cc->me = me; - cc->def = me ? me->def : NULL; + cc->method_serial = me ? me->def->method_serial : 0; } #define GET_BLOCK_HANDLER() (GET_LEP()[VM_ENV_DATA_INDEX_SPECVAL]) |