mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
069e9ff52c
commit
8a72c77c79
13 changed files with 121 additions and 112 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue