summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-16 10:48:17 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-16 10:48:17 -0700
commited18093200f94e964a0ad1c91272b3266364198b (patch)
tree39c0c672661186c01213ce6ac416ad7a3842bc34 /vm.c
parent9947574b9cad74fbf04fa44d49647c591590c511 (diff)
downloadruby-ed18093200f94e964a0ad1c91272b3266364198b.tar.gz
Fix the JIT-unsupported case
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index 0f90c9a1e2..959966f562 100644
--- a/vm.c
+++ b/vm.c
@@ -415,7 +415,7 @@ jit_exec(rb_execution_context_t *ec)
}
}
#else
-static inline jit_func_t jit_compile(rb_execution_context_t *ec) { return 0; }
+static inline rb_jit_func_t jit_compile(rb_execution_context_t *ec) { return 0; }
static inline VALUE jit_exec(rb_execution_context_t *ec) { return Qundef; }
#endif