From ec1cbbb07d00828e6265074ca4977a8dae6b8b29 Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Wed, 17 Mar 2021 19:07:20 -0400 Subject: Get rid of dependency on rb_call_cache --- yjit_iface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yjit_iface.h') diff --git a/yjit_iface.h b/yjit_iface.h index 74b530e405..269312da1c 100644 --- a/yjit_iface.h +++ b/yjit_iface.h @@ -75,7 +75,7 @@ void check_cfunc_dispatch(VALUE receiver, struct rb_call_data *cd, void *callee, bool cfunc_needs_frame(const rb_method_cfunc_t *cfunc); RBIMPL_ATTR_NODISCARD() bool assume_bop_not_redefined(block_t *block, int redefined_flag, enum ruby_basic_operators bop); -void assume_method_lookup_stable(const struct rb_callcache *cc, const rb_callable_method_entry_t *cme, block_t* block); +void assume_method_lookup_stable(VALUE receiver_klass, const rb_callable_method_entry_t *cme, block_t *block); RBIMPL_ATTR_NODISCARD() bool assume_single_ractor_mode(block_t *block); RBIMPL_ATTR_NODISCARD() bool assume_stable_global_constant_state(block_t *block); -- cgit v1.2.3