diff options
author | Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> | 2022-12-12 15:13:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-12 15:13:46 -0500 |
commit | 1004d693b7a3db5db98be59a3d3d468d2ee21ca5 (patch) | |
tree | 31edb6e49fb2dc3a3dd2b9e3fbdc4ec4be8718f5 /ruby.c | |
parent | 8e619b8e0ebbfd2e6ceb9fa69d67846796eb716e (diff) | |
download | ruby-1004d693b7a3db5db98be59a3d3d468d2ee21ca5.tar.gz |
Make it so YJIT is no longer marked as experimental (#6909)
Tested on production workloads at Shopify for > 1 year and proven
to be quite stable. Enabling YJIT at run-time is still guarded
behind the --yjit command-line option for now.
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -262,7 +262,7 @@ usage(const char *name, int help, int highlight, int columns) #if USE_YJIT # define PLATFORM_JIT_OPTION "--yjit" #else -# define PLATFORM_JIT_OPTION "--mjit" +# define PLATFORM_JIT_OPTION "--mjit (experimental)" #endif static const struct ruby_opt_message usage_msg[] = { M("-0[octal]", "", "specify record separator (\\0, if no argument)"), @@ -285,12 +285,12 @@ usage(const char *name, int help, int highlight, int columns) M("-w", "", "turn warnings on for your script"), M("-W[level=2|:category]", "", "set warning level; 0=silence, 1=medium, 2=verbose"), M("-x[directory]", "", "strip off text before #!ruby line and perhaps cd to directory"), - M("--jit", "", "enable JIT for the platform, same as " PLATFORM_JIT_OPTION " (experimental)"), + M("--jit", "", "enable JIT for the platform, same as " PLATFORM_JIT_OPTION), #if USE_MJIT M("--mjit", "", "enable C compiler-based JIT compiler (experimental)"), #endif #if USE_YJIT - M("--yjit", "", "enable in-process JIT compiler (experimental)"), + M("--yjit", "", "enable in-process JIT compiler"), #endif M("-h", "", "show this message, --help for more info"), }; @@ -378,7 +378,7 @@ usage(const char *name, int help, int highlight, int columns) SHOW(mjit_option_messages[i]); #endif #if USE_YJIT - printf("%s""YJIT options (experimental):%s\n", sb, se); + printf("%s""YJIT options:%s\n", sb, se); for (i = 0; i < numberof(yjit_options); ++i) SHOW(yjit_options[i]); #endif |