mirror of
https://github.com/ruby/ruby.git
synced 2025-08-28 07:26:00 +02:00
Rename opes to operands
Co-authored-by: Aaron Patterson <aaron.patterson@gmail.com>
This commit is contained in:
parent
d454a590cc
commit
8dbddd5bf8
Notes:
git
2023-03-16 21:17:19 +00:00
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
module RubyVM::RJIT # :nodoc: all
|
||||
Instruction = Data.define(:name, :bin, :len, :opes)
|
||||
Instruction = Data.define(:name, :bin, :len, :operands)
|
||||
|
||||
INSNS = {
|
||||
% RubyVM::Instructions.each_with_index do |insn, i|
|
||||
|
@ -7,7 +7,7 @@ module RubyVM::RJIT # :nodoc: all
|
|||
name: :<%= insn.name %>,
|
||||
bin: <%= i %>, # BIN(<%= insn.name %>)
|
||||
len: <%= insn.width %>, # insn_len
|
||||
opes: <%= (insn.opes unless insn.name.start_with?('trace_')).inspect %>,
|
||||
operands: <%= (insn.opes unless insn.name.start_with?('trace_')).inspect %>,
|
||||
),
|
||||
% end
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue