diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-08-16 02:05:12 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-15 13:05:12 -0400 |
commit | ee864beb7c6730083da656b55f4a9eeaed78bfa8 (patch) | |
tree | 21148b3c967a20efcbeefed2aaa1e385129c04f2 /vm_core.h | |
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 <maximecb@ruby-lang.org>
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -495,7 +495,6 @@ struct rb_iseq_constant_body { #if USE_YJIT // YJIT stores some data on each iseq. - // Note: Cannot use YJIT_BUILD here since yjit.h includes this header. void *yjit_payload; #endif }; |