aboutsummaryrefslogtreecommitdiffstats
path: root/mjit_compile.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-02-26 00:27:28 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2020-02-26 00:27:29 -0800
commit69f377a3d62b29bc927da7fdae99bcb5e7d096fe (patch)
tree50b8df9107fcc48cff18d609b63fa3b305319322 /mjit_compile.c
parentdaf7c48d888fb544590985db179e39aa53ae79a1 (diff)
downloadruby-69f377a3d62b29bc927da7fdae99bcb5e7d096fe.tar.gz
Internalize rb_mjit_unit definition again
Fixed a TODO in b9007b6c548f91e88fd3f2ffa23de740431fa969
Diffstat (limited to 'mjit_compile.c')
-rw-r--r--mjit_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit_compile.c b/mjit_compile.c
index e4f7cf292a..c0e5b18856 100644
--- a/mjit_compile.c
+++ b/mjit_compile.c
@@ -393,7 +393,7 @@ precompile_inlinable_iseqs(FILE *f, const rb_iseq_t *iseq, struct compile_status
if (insn == BIN(opt_send_without_block)) { // `compile_inlined_cancel_handler` supports only `opt_send_without_block`
CALL_DATA cd = (CALL_DATA)body->iseq_encoded[pos + 1];
const struct rb_callinfo *ci = cd->ci;
- const struct rb_callcache *cc = iseq->body->jit_unit->cc_entries[call_data_index(cd, body)]; // use copy to avoid race condition
+ const struct rb_callcache *cc = mjit_iseq_cc_entries(iseq->body)[call_data_index(cd, body)]; // use copy to avoid race condition
const rb_iseq_t *child_iseq;
if (has_valid_method_type(cc) &&