From ad5ab0c3eac0dea0503086a9166238483b510db6 Mon Sep 17 00:00:00 2001 From: Jemma Issroff Date: Fri, 6 Jan 2023 12:53:07 -0500 Subject: [PATCH] Remove unnecessary set of INVALID_SHAPE_ID in rb_callcache We don't use this value, so there's no need to set it. --- vm_insnhelper.c | 1 - 1 file changed, 1 deletion(-) diff --git a/vm_insnhelper.c b/vm_insnhelper.c index aa5e565f10..a53ebf1cd9 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -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_,