diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-12 08:38:11 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-12 08:38:11 +0000 |
commit | 8a72c77c7920d129818b7b83bb4fa669cd7e3f7d (patch) | |
tree | e88e17811fdb1059cc3a63199c297582780c8497 /tool/ruby_vm/models/trace_instructions.rb | |
parent | 069e9ff52cbb01fe2c5821a9b6a8077ab59c26c7 (diff) | |
download | ruby-8a72c77c7920d129818b7b83bb4fa669cd7e3f7d.tar.gz |
tool/ruby_vm support for pre-2.1 BASERUBY
as requested by devs, support for BASERUBY prior to 2.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/ruby_vm/models/trace_instructions.rb')
-rw-r--r-- | tool/ruby_vm/models/trace_instructions.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/ruby_vm/models/trace_instructions.rb b/tool/ruby_vm/models/trace_instructions.rb index a99a933ac7..fc904a11b5 100644 --- a/tool/ruby_vm/models/trace_instructions.rb +++ b/tool/ruby_vm/models/trace_instructions.rb @@ -18,7 +18,7 @@ class RubyVM::TraceInstructions attr_reader :name - def initialize orig: + def initialize orig @orig = orig @name = as_tr_cpp "trace @ #{@orig.name}" end @@ -61,7 +61,7 @@ class RubyVM::TraceInstructions private - @instances = RubyVM::Instructions.map {|i| new orig: i } + @instances = RubyVM::Instructions.map {|i| new i } def self.to_a @instances |