summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-08-16 02:05:12 +0900
committerGitHub <noreply@github.com>2022-08-15 13:05:12 -0400
commitee864beb7c6730083da656b55f4a9eeaed78bfa8 (patch)
tree21148b3c967a20efcbeefed2aaa1e385129c04f2 /vm.c
parent0264424d58e0eb3ff6fc42b7b4164b6e3b8ea8ca (diff)
Simplify around `USE_YJIT` macro (#6240)
* Simplify around `USE_YJIT` macro - Use `USE_YJIT` macro only instead of `YJIT_BUILD`. - An intermediate macro `YJIT_SUPPORTED_P` is no longer used. * Bail out if YJIT is enabled on unsupported platforms
Notes
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
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 3bba390e7c..4b1a30e7ca 100644
--- a/vm.c
+++ b/vm.c
@@ -3938,7 +3938,7 @@ Init_vm_objects(void)
}
/* Stub for builtin function when not building YJIT units*/
-#if !YJIT_BUILD
+#if !USE_YJIT
void Init_builtin_yjit(void) {}
#endif