diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-08 13:28:57 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-08 13:28:57 +0000 |
| commit | 59b089e0c259e8f2bb2fa8cb44eab919095db80a (patch) | |
| tree | 74e7913ad03c8400acd5c5b4c8706237f5e67aca /lib | |
| parent | df953388004483c47e4ec3cbd73058078318633b (diff) | |
| download | ruby-59b089e0c259e8f2bb2fa8cb44eab919095db80a.tar.gz ruby-59b089e0c259e8f2bb2fa8cb44eab919095db80a.tar.xz ruby-59b089e0c259e8f2bb2fa8cb44eab919095db80a.zip | |
* lib/debug.rb, lib/profile.rb: fix to use RubyVM.
* lib/rdoc/parsers/parse_c.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/debug.rb | 2 | ||||
| -rw-r--r-- | lib/profile.rb | 2 | ||||
| -rw-r--r-- | lib/rdoc/parsers/parse_c.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/debug.rb b/lib/debug.rb index aeebbc5f8..8a2f4f1a1 100644 --- a/lib/debug.rb +++ b/lib/debug.rb @@ -904,7 +904,7 @@ stdout.printf "Emacs support available.\n\n" 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 diff --git a/lib/profile.rb b/lib/profile.rb index 19275a3fd..2aeecce90 100644 --- a/lib/profile.rb +++ b/lib/profile.rb @@ -1,6 +1,6 @@ require 'profiler' -VM::InstructionSequence.compile_option = { +RubyVM::InstructionSequence.compile_option = { :trace_instruction => true, :specialized_instruction => false } diff --git a/lib/rdoc/parsers/parse_c.rb b/lib/rdoc/parsers/parse_c.rb index 745ee7aed..d398b1aa7 100644 --- a/lib/rdoc/parsers/parse_c.rb +++ b/lib/rdoc/parsers/parse_c.rb @@ -36,7 +36,7 @@ module RDoc "rb_cTime" => "Time", "rb_cTrueClass" => "TrueClass", "rb_cStruct" => "Struct", - "rb_cVM" => "VM", + "rb_cRubyVM" => "RubyVM", "rb_eException" => "Exception", "rb_eStandardError" => "StandardError", "rb_eSystemExit" => "SystemExit", |
