@@ -672,6 +672,11 @@ $ ruby --internal-encoding=cesu-8 -e 'puts Encoding::default_internal'
672672CESU-8
673673```
674674
675+ ### ` --jit `
676+
677+ Option ` --jit ` is an alias for option ` --yjit ` , which enables YJIT;
678+ see additional YJIT options in the [ YJIT documentation] ( rdoc-ref:yjit/yjit.md ) .
679+
675680### ` --verbose ` : Set ` $VERBOSE `
676681
677682Option ` --verbose ` sets global variable ` $VERBOSE ` to ` true `
@@ -681,44 +686,3 @@ and disables input from `$stdin`.
681686
682687Option ` --version ` prints the version of the Ruby interpreter, then exits.
683688
684- ## Experimental Options
685-
686- These options are experimental in the current Ruby release,
687- and may be modified or withdrawn in later releases.
688-
689- ### ` --jit `
690-
691- Option ` -jit ` enables JIT compilation with the default option.
692-
693- #### ` --jit-debug `
694-
695- Option ` --jit-debug ` enables JIT debugging (very slow);
696- adds compiler flags if given.
697-
698- #### ` --jit-max-cache=num `
699-
700- Option ` --jit-max-cache=num ` sets the maximum number of methods
701- to be JIT-ed in a cache; default: 100).
702-
703- #### ` --jit-min-calls=num `
704-
705- Option ` jit-min-calls=num ` sets the minimum number of calls to trigger JIT
706- (for testing); default: 10000).
707-
708- #### ` --jit-save-temps `
709-
710- Option ` --jit-save-temps ` saves JIT temporary files in $TMP or /tmp (for testing).
711-
712- #### ` --jit-verbose `
713-
714- Option ` --jit-verbose ` prints JIT logs of level ` num ` or less
715- to ` $stderr ` ; default: 0.
716-
717- #### ` --jit-wait `
718-
719- Option ` --jit-wait ` waits until JIT compilation finishes every time (for testing).
720-
721- #### ` --jit-warnings `
722-
723- Option ` --jit-warnings ` enables printing of JIT warnings.
724-
0 commit comments