diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2021-03-17 19:07:20 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:32 -0400 |
commit | ec1cbbb07d00828e6265074ca4977a8dae6b8b29 (patch) | |
tree | cbc4a1cb075eb4e237dd3039c42d1b9a159d82ce /yjit_iface.h | |
parent | 0cd9120f177b153126a093e4beabb5784cd0ab99 (diff) |
Get rid of dependency on rb_call_cache
Diffstat (limited to 'yjit_iface.h')
-rw-r--r-- | yjit_iface.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |