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,5 +1,5 @@
|
|||||||
module RubyVM::RJIT # :nodoc: all
|
module RubyVM::RJIT # :nodoc: all
|
||||||
Instruction = Data.define(:name, :bin, :len, :opes)
|
Instruction = Data.define(:name, :bin, :len, :operands)
|
||||||
|
|
||||||
INSNS = {
|
INSNS = {
|
||||||
% RubyVM::Instructions.each_with_index do |insn, i|
|
% RubyVM::Instructions.each_with_index do |insn, i|
|
||||||
@ -7,7 +7,7 @@ module RubyVM::RJIT # :nodoc: all
|
|||||||
name: :<%= insn.name %>,
|
name: :<%= insn.name %>,
|
||||||
bin: <%= i %>, # BIN(<%= insn.name %>)
|
bin: <%= i %>, # BIN(<%= insn.name %>)
|
||||||
len: <%= insn.width %>, # insn_len
|
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
|
% end
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user