Remove unnecessary set of INVALID_SHAPE_ID in rb_callcache

We don't use this value, so there's no need to set it.
This commit is contained in:
Jemma Issroff 2023-01-06 12:53:07 -05:00 committed by Aaron Patterson
parent abff5f6203
commit ad5ab0c3ea
Notes: git 2023-01-11 18:01:30 +00:00

View File

@ -3922,7 +3922,6 @@ vm_call_method_each_type(rb_execution_context_t *ec, rb_control_frame_t *cfp, st
.flags = T_IMEMO |
(imemo_callcache << FL_USHIFT) |
VM_CALLCACHE_UNMARKABLE |
((VALUE)INVALID_SHAPE_ID << SHAPE_FLAG_SHIFT) |
VM_CALLCACHE_ON_STACK,
.klass = cc->klass,
.cme_ = cc->cme_,