mirror of
https://github.com/ruby/ruby.git
synced 2026-08-03 11:18:06 +08:00
Remove unused static variables
These variables are used only when `VM_COLLECT_USAGE_DETAILS` is true.
This commit is contained in:
parent
2052f213e9
commit
09f5bff7be
Notes:
git
2026-07-13 02:32:19 +00:00
9
vm.c
9
vm.c
@ -5194,15 +5194,6 @@ usage_analysis_register_clear(VALUE self)
|
||||
return usage_analysis_clear(self, usage_hash);
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
MAYBE_UNUSED(static void (*ruby_vm_collect_usage_func_insn)(int insn)) = 0;
|
||||
MAYBE_UNUSED(static void (*ruby_vm_collect_usage_func_operand)(int insn, int n, VALUE op)) = 0;
|
||||
MAYBE_UNUSED(static void (*ruby_vm_collect_usage_func_register)(int reg, int isset)) = 0;
|
||||
|
||||
#endif
|
||||
|
||||
#if VM_COLLECT_USAGE_DETAILS
|
||||
/* @param insn instruction number */
|
||||
static void
|
||||
vm_collect_usage_insn(int insn)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user