diff options
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -373,6 +373,8 @@ enum rb_builtin_attr { BUILTIN_ATTR_NO_GC = 0x02, }; +typedef VALUE (*rb_jit_func_t)(struct rb_execution_context_struct *, struct rb_control_frame_struct *); + struct rb_iseq_constant_body { enum rb_iseq_type type; @@ -505,7 +507,7 @@ struct rb_iseq_constant_body { #if USE_RJIT || USE_YJIT // Function pointer for JIT code - VALUE (*jit_func)(struct rb_execution_context_struct *, struct rb_control_frame_struct *); + rb_jit_func_t jit_func; // Number of total calls with jit_exec() long unsigned total_calls; #endif @@ -521,8 +523,6 @@ struct rb_iseq_constant_body { #endif }; -typedef VALUE (*jit_func_t)(struct rb_execution_context_struct *, struct rb_control_frame_struct *); - /* T_IMEMO/iseq */ /* typedef rb_iseq_t is in method.h */ struct rb_iseq_struct { |