ruby-changes:6442
From: ko1 <ko1@a...>
Date: Tue, 8 Jul 2008 22:29:16 +0900 (JST)
Subject: [ruby-changes:6442] Ruby:r17958 (trunk): * lib/debug.rb, lib/profile.rb: fix to use RubyVM.
ko1 2008-07-08 22:28:57 +0900 (Tue, 08 Jul 2008) New Revision: 17958 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17958 Log: * lib/debug.rb, lib/profile.rb: fix to use RubyVM. * lib/rdoc/parsers/parse_c.rb: ditto. Modified files: trunk/ChangeLog trunk/lib/debug.rb trunk/lib/profile.rb trunk/lib/rdoc/parsers/parse_c.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 17957) +++ ChangeLog (revision 17958) @@ -1,3 +1,9 @@ +Tue Jul 8 22:28:25 2008 Koichi Sasada <ko1@a...> + + * lib/debug.rb, lib/profile.rb: fix to use RubyVM. + + * lib/rdoc/parsers/parse_c.rb: ditto. + Tue Jul 8 21:45:22 2008 Yusuke Endoh <mame@t...> * vm.c (rb_vm_mark): mark the last element of special_exceptions. @@ -9,12 +15,6 @@ * test/win32ole/test_win32ole_event.rb: ditto -Tue Jul 8 13:44:01 2008 Koichi Sasada <ko1@a...> - - * lib/debug.rb, lib/profile.rb: fix to use RubyVM. - - * lib/rdoc/parsers/parse_c.rb: ditto. - Tue Jul 8 13:38:22 2008 Koichi Sasada <ko1@a...> * compile.h: fix to skip inserting a trace insn. Index: lib/rdoc/parsers/parse_c.rb =================================================================== --- lib/rdoc/parsers/parse_c.rb (revision 17957) +++ lib/rdoc/parsers/parse_c.rb (revision 17958) @@ -36,7 +36,7 @@ "rb_cTime" => "Time", "rb_cTrueClass" => "TrueClass", "rb_cStruct" => "Struct", - "rb_cVM" => "VM", + "rb_cRubyVM" => "RubyVM", "rb_eException" => "Exception", "rb_eStandardError" => "StandardError", "rb_eSystemExit" => "SystemExit", Index: lib/profile.rb =================================================================== --- lib/profile.rb (revision 17957) +++ lib/profile.rb (revision 17958) @@ -1,6 +1,6 @@ require 'profiler' -VM::InstructionSequence.compile_option = { +RubyVM::InstructionSequence.compile_option = { :trace_instruction => true, :specialized_instruction => false } Index: lib/debug.rb =================================================================== --- lib/debug.rb (revision 17957) +++ lib/debug.rb (revision 17958) @@ -904,7 +904,7 @@ set_trace_func proc { |event, file, line, id, binding, klass, *rest| DEBUGGER__.context.trace_func event, file, line, id, binding, klass } -VM::InstructionSequence.compile_option = { +RubyVM::InstructionSequence.compile_option = { trace_instruction: true } end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/