summaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2021-12-13 16:08:01 -0800
committerGitHub <noreply@github.com>2021-12-13 16:08:01 -0800
commit11b8aaa26a22bb67b144484af6890844771b5f46 (patch)
tree70b7047f412c7ee0c129dd53a634dc0f38c61cf3 /version.c
parent94494a565d7d3e1277e594db44478edc0233c3e8 (diff)
Rename --jit to --mjit (#5248)
* Rename --jit to --mjit [Feature #18349] * Fix a few more --jit references * Fix MJIT Actions * More s/jit/mjit/ and re-introduce --disable-jit * Update NEWS.md * Fix test_bug_reporter_add
Notes
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'version.c')
-rw-r--r--version.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/version.c b/version.c
index 5bfc663b4e..7d4478eeb6 100644
--- a/version.c
+++ b/version.c
@@ -42,7 +42,7 @@ const char ruby_release_date[] = RUBY_RELEASE_DATE;
const char ruby_platform[] = RUBY_PLATFORM;
const int ruby_patchlevel = RUBY_PATCHLEVEL;
const char ruby_description[] = RUBY_DESCRIPTION_WITH("");
-static const char ruby_description_with_jit[] = RUBY_DESCRIPTION_WITH(" +JIT");
+static const char ruby_description_with_mjit[] = RUBY_DESCRIPTION_WITH(" +MJIT");
static const char ruby_description_with_yjit[] = RUBY_DESCRIPTION_WITH(" +YJIT");
const char ruby_copyright[] = RUBY_COPYRIGHT;
const char ruby_engine[] = "ruby";
@@ -104,7 +104,7 @@ Init_ruby_description(void)
VALUE description;
if (MJIT_OPTS_ON) {
- description = MKSTR(description_with_jit);
+ description = MKSTR(description_with_mjit);
}
else if (rb_yjit_enabled_p()) {
description = MKSTR(description_with_yjit);
@@ -123,7 +123,7 @@ void
ruby_show_version(void)
{
if (MJIT_OPTS_ON) {
- PRINT(description_with_jit);
+ PRINT(description_with_mjit);
}
else if (rb_yjit_enabled_p()) {
PRINT(description_with_yjit);