diff options
author | U.Nakamura <[email protected]> | 2021-12-27 15:56:23 +0900 |
---|---|---|
committer | U.Nakamura <[email protected]> | 2021-12-27 15:56:23 +0900 |
commit | 85a426dc8678f04a78ffd799943b690ce2984c49 (patch) | |
tree | db4a2ccd3de67b69651ccbe66830ff313150072e /yjit.h | |
parent | f486566f133ae191c6f9d5ff0001abf8efc9984f (diff) |
Tiny mmap emulation for Windows
- prerequisite of supporting YJIT with VC++.
- note that now can specfily `--yjit` on mswin64, but not enabled
YJIT'ed code because of YJIT requires `OPT_DIRECT_THREADED_CODE`
or `OPT_CALL_THREADED_CODE` in `rb_yjit_compile_iseq`.
Diffstat (limited to 'yjit.h')
-rw-r--r-- | yjit.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ #endif // We generate x86 assembly and rely on mmap(2). -#if defined(__x86_64__) && !defined(_WIN32) +#if defined(__x86_64__) || defined(_WIN64) # define YJIT_SUPPORTED_P 1 #else # define YJIT_SUPPORTED_P 0 |