diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-06 23:17:25 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-06 23:44:01 -0800 |
commit | 23ec248e48f696ae986e2b19cd572ece02a5ba55 (patch) | |
tree | 3973e15ea1c34d000b40a64bd64e78880f28efec /cont.c | |
parent | 2e875549a934fa04b7939810fa0d8a2762702aaa (diff) | |
download | ruby-23ec248e48f696ae986e2b19cd572ece02a5ba55.tar.gz |
s/mjit/rjit/
Diffstat (limited to 'cont.c')
-rw-r--r-- | cont.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -34,7 +34,7 @@ extern int madvise(caddr_t, size_t, int); #include "internal/sanitizers.h" #include "internal/warnings.h" #include "ruby/fiber/scheduler.h" -#include "mjit.h" +#include "rjit.h" #include "yjit.h" #include "vm_core.h" #include "vm_sync.h" @@ -70,7 +70,7 @@ static VALUE rb_cFiberPool; #define FIBER_POOL_ALLOCATION_FREE #endif -#define jit_cont_enabled (mjit_enabled || rb_yjit_enabled_p()) +#define jit_cont_enabled (rjit_enabled || rb_yjit_enabled_p()) enum context_type { CONTINUATION_CONTEXT = 0, @@ -2547,7 +2547,7 @@ rb_threadptr_root_fiber_setup(rb_thread_t *th) fiber->blocking = 1; fiber_status_set(fiber, FIBER_RESUMED); /* skip CREATED */ th->ec = &fiber->cont.saved_ec; - // When rb_threadptr_root_fiber_setup is called for the first time, mjit_enabled and + // When rb_threadptr_root_fiber_setup is called for the first time, rjit_enabled and // rb_yjit_enabled_p() are still false. So this does nothing and rb_jit_cont_init() that is // called later will take care of it. However, you still have to call cont_init_jit_cont() // here for other Ractors, which are not initialized by rb_jit_cont_init(). |