diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-02-16 21:09:17 +0900 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2022-02-16 09:43:54 -0500 |
commit | f9abb286fb3ddff1caacea6c74d857803df18897 (patch) | |
tree | bdbc521d3d5993f69d03131cdd822ecae30b375f | |
parent | 00c7a0d491504b0b2b1b8723d4b70e5c24ec649c (diff) | |
download | ruby-f9abb286fb3ddff1caacea6c74d857803df18897.tar.gz |
Parenthesize a macro expression
The modulo in `rb_yjit_code_page_alloc` seems interpreted wrongly.
-rw-r--r-- | yjit_iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit_iface.c b/yjit_iface.c index bd0d25b7d7..b6090b1b80 100644 --- a/yjit_iface.c +++ b/yjit_iface.c @@ -37,7 +37,7 @@ extern st_table *rb_encoded_insn_data; struct rb_yjit_options rb_yjit_opts; // Size of code pages to allocate -#define CODE_PAGE_SIZE 16 * 1024 +#define CODE_PAGE_SIZE (16 * 1024) // How many code pages to allocate at once #define PAGES_PER_ALLOC 512 |