diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2023-03-17 16:16:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-17 16:16:17 -0400 |
commit | 7fc796f92af6ddb26df8f1258d3a864a8c6e388d (patch) | |
tree | bbed7e5b5682aca3078c85f9335648e6b130fdab /yjit/src/options.rs | |
parent | 2a26a5e677de61cdba04fc8df63c00d3c3e612a9 (diff) | |
download | ruby-7fc796f92af6ddb26df8f1258d3a864a8c6e388d.tar.gz |
YJIT: Delete --yjit-global-constant-state (#7559)
It was useful for evaluating 6068da8937d7e4358943f95e7450dae7179a7763
but I think we should remove it now to make the logic around
invalidation more straight forward.
Diffstat (limited to 'yjit/src/options.rs')
-rw-r--r-- | yjit/src/options.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/yjit/src/options.rs b/yjit/src/options.rs index e720c33b0b..9a8205d933 100644 --- a/yjit/src/options.rs +++ b/yjit/src/options.rs @@ -39,12 +39,6 @@ pub struct Options { /// Verify context objects (debug mode only) pub verify_ctx: bool, - - /// Whether or not to assume a global constant state (and therefore - /// invalidating code whenever any constant changes) versus assuming - /// constant name components (and therefore invalidating code whenever a - /// matching name component changes) - pub global_constant_state: bool, } // Initialize the options to default values @@ -59,7 +53,6 @@ pub static mut OPTIONS: Options = Options { dump_insns: false, dump_disasm: None, verify_ctx: false, - global_constant_state: false, dump_iseq_disasm: None, }; @@ -159,7 +152,6 @@ pub fn parse_option(str_ptr: *const std::os::raw::c_char) -> Option<()> { ("trace-exits", "") => unsafe { OPTIONS.gen_trace_exits = true; OPTIONS.gen_stats = true }, ("dump-insns", "") => unsafe { OPTIONS.dump_insns = true }, ("verify-ctx", "") => unsafe { OPTIONS.verify_ctx = true }, - ("global-constant-state", "") => unsafe { OPTIONS.global_constant_state = true }, // Option name not recognized _ => { |