summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-09-03 20:01:50 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2022-09-03 20:01:51 -0700
commitcfa40e225adb30b777ef50d9d8dc15a51e3d2797 (patch)
tree747558d38a1b47f00e4c069731584ba06ec1c5c6 /ruby.c
parent13a59747c83dbaf52787ef45d24ed2ebd6c12d68 (diff)
downloadruby-cfa40e225adb30b777ef50d9d8dc15a51e3d2797.tar.gz
Prefer stdbool for MJIT options
same motivation as d6f21b308bcff03e82f8b3dbf11a852ce111b3b3
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index 26d263a1b1..4f33267d73 100644
--- a/ruby.c
+++ b/ruby.c
@@ -1850,7 +1850,7 @@ process_options(int argc, char **argv, ruby_cmdline_options_t *opt)
#if USE_MJIT
if (FEATURE_SET_P(opt->features, mjit)) {
- opt->mjit.on = TRUE; /* set mjit.on for ruby_show_version() API and check to call mjit_init() */
+ opt->mjit.on = true; // set mjit.on for ruby_show_version() API and check to call mjit_init()
}
#endif
#if USE_YJIT