summaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2023-03-06 23:15:30 -0800
committerTakashi Kokubun <[email protected]>2023-03-06 23:44:01 -0800
commit2e875549a934fa04b7939810fa0d8a2762702aaa ()
tree116b99056f810d48359ac6fa6a3b06e9ddc65c05 /version.c
parenteaccdc1941304d6273397b21c25213174d892185 (diff)
s/MJIT/RJIT/
Notes: Merged: https://.com/ruby/ruby/pull/7462
-rw-r--r--version.c10
1 files changed, 5 insertions, 5 deletions
@@ -71,7 +71,7 @@ const char ruby_release_date[] = RUBY_RELEASE_DATE;
const char ruby_platform[] = RUBY_PLATFORM;
const int ruby_level = RUBY_LEVEL;
const char ruby_description[] = RUBY_DESCRIPTION_WITH("");
-static const char ruby_description_with_mjit[] = RUBY_DESCRIPTION_WITH(" +MJIT");
static const char ruby_description_with_yjit[] = RUBY_DESCRIPTION_WITH(YJIT_DESCRIPTION);
const char ruby_copyright[] = "ruby - Copyright (C) "
RUBY_BIRTH_YEAR_STR "-" RUBY_RELEASE_YEAR_STR " "
@@ -126,10 +126,10 @@ Init_version(void)
rb_provide("ruby2_keywords.rb");
}
-#if USE_MJIT
-#define MJIT_OPTS_ON opt->mjit.on
#else
-#define MJIT_OPTS_ON 0
#endif
#if USE_YJIT
@@ -143,7 +143,7 @@ Init_ruby_description(ruby_cmdline_options_t *opt)
{
VALUE description;
- if (MJIT_OPTS_ON) {
rb_dynamic_description = ruby_description_with_mjit;
description = MKSTR(description_with_mjit);
}