summaryrefslogtreecommitdiff
path: root/vm_callinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_callinfo.h')
-rw-r--r--vm_callinfo.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/vm_callinfo.h b/vm_callinfo.h
index 4ee6fa72e6..d846a2cc4d 100644
--- a/vm_callinfo.h
+++ b/vm_callinfo.h
@@ -376,18 +376,6 @@ extern const struct rb_callcache *rb_vm_empty_cc(void);
/* callcache: mutate */
static inline void
-vm_cc_cme_set(const struct rb_callcache *cc, const struct rb_callable_method_entry_struct *cme)
-{
- VM_ASSERT(IMEMO_TYPE_P(cc, imemo_callcache));
- VM_ASSERT(cc != vm_cc_empty());
- VM_ASSERT(vm_cc_cme(cc) != NULL);
- VM_ASSERT(vm_cc_cme(cc)->called_id == cme->called_id);
- VM_ASSERT(!vm_cc_markable(cc)); // only used for vm_eval.c
-
- *((const struct rb_callable_method_entry_struct **)&cc->cme_) = cme;
-}
-
-static inline void
vm_cc_call_set(const struct rb_callcache *cc, vm_call_handler call)
{
VM_ASSERT(IMEMO_TYPE_P(cc, imemo_callcache));