From f9abb286fb3ddff1caacea6c74d857803df18897 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 16 Feb 2022 21:09:17 +0900 Subject: [PATCH] Parenthesize a macro expression The modulo in `rb_yjit_code_page_alloc` seems interpreted wrongly. --- yjit_iface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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