diff options
Diffstat (limited to 'tool/ruby_vm')
-rw-r--r-- | tool/ruby_vm/views/lib/ruby_vm/mjit/instruction.rb.erb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/ruby_vm/views/lib/ruby_vm/mjit/instruction.rb.erb b/tool/ruby_vm/views/lib/ruby_vm/mjit/instruction.rb.erb index 38b9c1f92e..16c10a9928 100644 --- a/tool/ruby_vm/views/lib/ruby_vm/mjit/instruction.rb.erb +++ b/tool/ruby_vm/views/lib/ruby_vm/mjit/instruction.rb.erb @@ -16,11 +16,11 @@ module RubyVM::MJIT # :nodoc: all INSNS = { % RubyVM::Instructions.each_with_index do |insn, i| -% next if insn.name.start_with?('trace_') <%= i %> => Instruction.new( name: :<%= insn.name %>, bin: <%= i %>, # BIN(<%= insn.name %>) len: <%= insn.width %>, # insn_len +% unless insn.name.start_with?('trace_') expr: <<-EXPR, <%= insn.expr.expr.dump.sub(/\A"/, '').sub(/"\z/, '').gsub(/\\n/, "\n").gsub(/\\t/, ' ' * 8) %> EXPR @@ -32,6 +32,7 @@ module RubyVM::MJIT # :nodoc: all always_leaf?: <%= insn.always_leaf? %>, leaf_without_check_ints?: <%= insn.leaf_without_check_ints? %>, handles_sp?: <%= insn.handles_sp? %>, +% end ), % end } |