diff options
author | Takashi Kokubun <[email protected]> | 2025-04-29 11:10:42 -0700 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2025-04-29 11:10:49 -0700 |
commit | 9cdc46587d8dbe55201acbf90e20523479b6c03c (patch) | |
tree | 133082ddfa463aff11629ed2ba259d8e5a65ccbf /tool/ruby_vm/views | |
parent | 0f3d6ee57825f6ecbcbab797ef8e9ca9f84bc095 (diff) |
Explain a missing USE_ZJIT check on rb_vm_max_insn_name_size
Diffstat (limited to 'tool/ruby_vm/views')
-rw-r--r-- | tool/ruby_vm/views/_insn_name_info.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/ruby_vm/views/_insn_name_info.erb b/tool/ruby_vm/views/_insn_name_info.erb index a0a390256b..2862908631 100644 --- a/tool/ruby_vm/views/_insn_name_info.erb +++ b/tool/ruby_vm/views/_insn_name_info.erb @@ -24,6 +24,7 @@ extern const unsigned short rb_vm_insn_name_offset[VM_INSTRUCTION_SIZE]; RUBY_SYMBOL_EXPORT_END #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 char rb_vm_insn_name_base[] = |