MJIT: Improve comments for JIT fields [ci skip]

This commit is contained in:
Takashi Kokubun 2022-12-08 23:48:30 -08:00
parent 8893913ae6
commit f25e76fddd
No known key found for this signature in database
GPG Key ID: 6FFC433B12EE23DD

View File

@ -504,12 +504,14 @@ struct rb_iseq_constant_body {
const rb_iseq_t *mandatory_only_iseq;
#if USE_MJIT || USE_YJIT
/* The following fields are MJIT related info. */
VALUE (*jit_func)(struct rb_execution_context_struct *,
struct rb_control_frame_struct *); /* function pointer for loaded native code */
long unsigned total_calls; /* number of total calls with `jit_exec()` */
// Function pointer for JIT code
VALUE (*jit_func)(struct rb_execution_context_struct *, struct rb_control_frame_struct *);
// Number of total calls with jit_exec()
long unsigned total_calls;
#endif
#if USE_MJIT
// MJIT stores some data on each iseq.
struct rb_mjit_unit *mjit_unit;
#endif