Remove dead vm_cc_valid_p
This commit is contained in:
parent
22e5d83cd1
commit
dd863714bf
Notes:
git
2025-01-24 16:07:37 +00:00
@ -472,19 +472,6 @@ vm_cc_invalidated_p(const struct rb_callcache *cc)
|
||||
}
|
||||
}
|
||||
|
||||
// For RJIT. cc_cme is supposed to have inlined `vm_cc_cme(cc)`.
|
||||
static inline bool
|
||||
vm_cc_valid_p(const struct rb_callcache *cc, const rb_callable_method_entry_t *cc_cme, VALUE klass)
|
||||
{
|
||||
VM_ASSERT(IMEMO_TYPE_P(cc, imemo_callcache));
|
||||
if (cc->klass == klass && !METHOD_ENTRY_INVALIDATED(cc_cme)) {
|
||||
return 1;
|
||||
}
|
||||
else {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* callcache: mutate */
|
||||
|
||||
static inline void
|
||||
|
Loading…
x
Reference in New Issue
Block a user