aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-08 13:28:57 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-08 13:28:57 +0000
commit7e16f9e7777781a4969537b5d9f659b1356b2786 (patch)
tree74e7913ad03c8400acd5c5b4c8706237f5e67aca
parent92afa0522205ba0589d4c3d6e03837802a2c83fd (diff)
downloadruby-7e16f9e7777781a4969537b5d9f659b1356b2786.tar.gz
* lib/debug.rb, lib/profile.rb: fix to use RubyVM.
* lib/rdoc/parsers/parse_c.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog12
-rw-r--r--lib/debug.rb2
-rw-r--r--lib/profile.rb2
-rw-r--r--lib/rdoc/parsers/parse_c.rb2
4 files changed, 9 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index da8c6d7613..62ff9d9f11 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue Jul 8 22:28:25 2008 Koichi Sasada <ko1@atdot.net>
+
+ * 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@tsg.ne.jp>
* vm.c (rb_vm_mark): mark the last element of special_exceptions.
@@ -9,12 +15,6 @@ Tue Jul 8 19:55:40 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* test/win32ole/test_win32ole_event.rb: ditto
-Tue Jul 8 13:44:01 2008 Koichi Sasada <ko1@atdot.net>
-
- * 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@atdot.net>
* compile.h: fix to skip inserting a trace insn.
diff --git a/lib/debug.rb b/lib/debug.rb
index aeebbc5f8c..8a2f4f1a12 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 19275a3fd2..2aeecce908 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 745ee7aedd..d398b1aa71 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",