diff options
author | Nobuyoshi Nakada <[email protected]> | 2022-08-16 02:05:12 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2022-08-15 13:05:12 -0400 |
commit | ee864beb7c6730083da656b55f4a9eeaed78bfa8 (patch) | |
tree | 21148b3c967a20efcbeefed2aaa1e385129c04f2 /vm.c | |
parent | 0264424d58e0eb3ff6fc42b7b4164b6e3b8ea8ca (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 <[email protected]>
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |