diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-07 21:16:05 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-03-07 21:19:04 -0800 |
commit | 1d39d2d334f2472a1694ff861ad8c27cefea819b (patch) | |
tree | 2ee2bd6da1ad60db3865b55fbde84895f48c77f0 /rjit.c | |
parent | 00d6772e400b55b72f81285d66ac2c2834a87c18 (diff) |
Update options available in RJIT
Diffstat (limited to 'rjit.c')
-rw-r--r-- | rjit.c | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -240,14 +240,11 @@ rjit_setup_options(const char *s, struct rjit_options *rjit_opt) #define M(shortopt, longopt, desc) RUBY_OPT_MESSAGE(shortopt, longopt, desc) const struct ruby_opt_message rjit_option_messages[] = { - M("--rjit-warnings", "", "Enable printing JIT warnings"), - M("--rjit-debug", "", "Enable JIT debugging (very slow), or add cflags if specified"), - M("--rjit-wait", "", "Wait until JIT compilation finishes every time (for testing)"), - M("--rjit-save-temps", "", "Save JIT temporary files in $TMP or /tmp (for testing)"), - M("--rjit-verbose=num", "", "Print JIT logs of level num or less to stderr (default: 0)"), - M("--rjit-max-cache=num", "", "Max number of methods to be JIT-ed in a cache (default: " STRINGIZE(DEFAULT_MAX_CACHE_SIZE) ")"), - M("--rjit-call-threshold=num", "", "Number of calls to trigger JIT (for testing, default: " STRINGIZE(DEFAULT_CALL_THRESHOLD) ")"), M("--rjit-stats", "", "Enable collecting RJIT statistics"), + M("--rjit-call-threshold=num", "", "Number of calls to trigger JIT (default: " STRINGIZE(DEFAULT_CALL_THRESHOLD) ")"), +#if RUBY_DEBUG + M("--rjit-dump-disasm", "", "Dump all JIT code"), +#endif {0} }; #undef M |