From b7644a231100b1e1b70af528f9629d2e39572087 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 25 Oct 2022 09:07:10 -0700 Subject: YJIT: GC and recompile all code pages (#6406) when it fails to allocate a new page. Co-authored-by: Alan Wu --- cont.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cont.c') diff --git a/cont.c b/cont.c index b3c84d82ac..577a30a57a 100644 --- a/cont.c +++ b/cont.c @@ -69,7 +69,7 @@ static VALUE rb_cFiberPool; #define FIBER_POOL_ALLOCATION_FREE #endif -#define jit_cont_enabled mjit_enabled // To be used by YJIT later +#define jit_cont_enabled (mjit_enabled || rb_yjit_enabled_p()) enum context_type { CONTINUATION_CONTEXT = 0, -- cgit v1.2.1