mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm.c, vm_core.h,vm_core.h, vm_dump.c, iseq.c: rename class name
VM -> RubyVM, and rename rb_cVM -> rb_cRubyVM. "VM" is too short name for class. * test/ruby/test_method.rb, test/ruby/test_settracefunc.rb: ditto. * include/ruby/ruby.h: rb_cRubyVM, rb_cEnv, rb_cISeq should not be exposed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
002fb8f747
commit
9ebf6473eb
8 changed files with 35 additions and 24 deletions
|
@ -2,15 +2,15 @@ require 'test/unit'
|
|||
|
||||
class TestSetTraceFunc < Test::Unit::TestCase
|
||||
def setup
|
||||
@original_compile_option = VM::InstructionSequence.compile_option
|
||||
VM::InstructionSequence.compile_option = {
|
||||
@original_compile_option = RubyVM::InstructionSequence.compile_option
|
||||
RubyVM::InstructionSequence.compile_option = {
|
||||
:trace_instruction => true,
|
||||
:specialized_instruction => false
|
||||
}
|
||||
end
|
||||
|
||||
def teardown
|
||||
VM::InstructionSequence.compile_option = @original_compile_option
|
||||
RubyVM::InstructionSequence.compile_option = @original_compile_option
|
||||
end
|
||||
|
||||
def test_c_call
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue