Explain a missing USE_ZJIT check on rb_vm_max_insn_name_size
This commit is contained in:
parent
0f3d6ee578
commit
9cdc46587d
@ -24,6 +24,7 @@ extern const unsigned short rb_vm_insn_name_offset[VM_INSTRUCTION_SIZE];
|
|||||||
RUBY_SYMBOL_EXPORT_END
|
RUBY_SYMBOL_EXPORT_END
|
||||||
|
|
||||||
#ifdef RUBY_VM_INSNS_INFO
|
#ifdef RUBY_VM_INSNS_INFO
|
||||||
|
%# "trace_" is longer than "zjit_", so USE_ZJIT doesn't impact the max name size.
|
||||||
const int rb_vm_max_insn_name_size = <%= RubyVM::Instructions.map { |i| i.name.size }.max %>;
|
const int rb_vm_max_insn_name_size = <%= RubyVM::Instructions.map { |i| i.name.size }.max %>;
|
||||||
|
|
||||||
const char rb_vm_insn_name_base[] =
|
const char rb_vm_insn_name_base[] =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user