diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2021-12-13 16:08:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-13 16:08:01 -0800 |
commit | 11b8aaa26a22bb67b144484af6890844771b5f46 (patch) | |
tree | 70b7047f412c7ee0c129dd53a634dc0f38c61cf3 /yjit.h | |
parent | 94494a565d7d3e1277e594db44478edc0233c3e8 (diff) |
Rename --jit to --mjit (#5248)
* Rename --jit to --mjit
[Feature #18349]
* Fix a few more --jit references
* Fix MJIT Actions
* More s/jit/mjit/ and re-introduce --disable-jit
* Update NEWS.md
* Fix test_bug_reporter_add
Notes
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'yjit.h')
-rw-r--r-- | yjit.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -15,6 +15,13 @@ # define YJIT_STATS RUBY_DEBUG #endif +// We generate x86 assembly and rely on mmap(2). +#if defined(__x86_64__) && !defined(_WIN32) +# define YJIT_SUPPORTED_P 1 +#else +# define YJIT_SUPPORTED_P 0 +#endif + struct rb_yjit_options { // Enable compilation with YJIT bool yjit_enabled; |