1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Parenthesize a macro expression

The modulo in `rb_yjit_code_page_alloc` seems interpreted wrongly.
This commit is contained in:
Nobuyoshi Nakada 2022-02-16 21:09:17 +09:00 committed by Alan Wu
parent 00c7a0d491
commit f9abb286fb
Notes: git 2022-02-16 23:44:18 +09:00

View file

@ -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