From a0e9af0146ab04e6d9eb8f5435ecdf383144af60 Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Wed, 28 May 2025 12:20:37 +0200 Subject: [PATCH] Get rid of unused `vm_ic_attr_index_dest_shape_id` --- vm_callinfo.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/vm_callinfo.h b/vm_callinfo.h index a09785ac9c..975b78ae8c 100644 --- a/vm_callinfo.h +++ b/vm_callinfo.h @@ -448,12 +448,6 @@ vm_ic_atomic_shape_and_index(const struct iseq_inline_iv_cache_entry *ic, shape_ return; } -static inline shape_id_t -vm_ic_attr_index_dest_shape_id(const struct iseq_inline_iv_cache_entry *ic) -{ - return (shape_id_t)(ic->value >> SHAPE_FLAG_SHIFT); -} - static inline unsigned int vm_cc_cmethod_missing_reason(const struct rb_callcache *cc) {