summaryrefslogtreecommitdiff
path: root/tool/ruby_vm
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2023-03-16 13:08:13 -0700
committerJohn Hawthorn <john@hawthorn.email>2023-03-16 14:16:56 -0700
commit8dbddd5bf8a2f36b0cd32d97f7f7fa383bbc5b64 (patch)
treef3e27d4bab169e5c9c3bed5978888961201e6b35 /tool/ruby_vm
parentd454a590ccdcf50d681aeb0aacfe2a0e424481b1 (diff)
downloadruby-8dbddd5bf8a2f36b0cd32d97f7f7fa383bbc5b64.tar.gz
Rename opes to operands
Co-authored-by: Aaron Patterson <aaron.patterson@gmail.com>
Diffstat (limited to 'tool/ruby_vm')
-rw-r--r--tool/ruby_vm/views/lib/ruby_vm/rjit/instruction.rb.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/ruby_vm/views/lib/ruby_vm/rjit/instruction.rb.erb b/tool/ruby_vm/views/lib/ruby_vm/rjit/instruction.rb.erb
index b32c1ea0be..84c2e92414 100644
--- a/tool/ruby_vm/views/lib/ruby_vm/rjit/instruction.rb.erb
+++ b/tool/ruby_vm/views/lib/ruby_vm/rjit/instruction.rb.erb
@@ -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
}