Skip to content

Commit

Permalink
Allow aarch64 to build YJIT
Browse files Browse the repository at this point in the history
  • Loading branch information
k0kubun committed Aug 16, 2022
1 parent 9aa3532 commit 0e74ffe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yjit.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

#if USE_YJIT

// We generate x86 assembly
#if defined(_WIN32) ? defined(_M_AMD64) : defined(__x86_64__)
// We generate x86 or arm64 assembly
#if defined(_WIN32) ? defined(_M_AMD64) : (defined(__x86_64__) || defined(__aarch64__))
// x86_64 platforms without mingw/msys or x64-mswin
#else
# error YJIT unsupported platform
Expand Down

1 comment on commit 0e74ffe

@maximecb
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Kokubun 👍

Please sign in to comment.