diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-02 16:46:08 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-02 16:46:08 +0000 |
commit | f6f769d26d8ba3fa715cbb0e3717ff50207befaa (patch) | |
tree | 9cff0df9f64c2b1df9d48b7c6de96335944a17a9 /ChangeLog | |
parent | 0d1b2164b01bc54b5cced5c9d96349661af55242 (diff) | |
download | ruby-f6f769d26d8ba3fa715cbb0e3717ff50207befaa.tar.gz |
* vm_backtrace.c: change names.
(1) Class name: RubyVM::FrameInfo -> RubyVM::Backtrace::Location.
(2) Method name: RubyVM::FrameInfo.caller ->
Kernel.caller_locations.
(3) Instance methods of
RubyVM::FrameInfo (RubyVM::Backtrace::Location)
(3-1) name -> label
(3-2) basename -> base_label (basename is confusing with
File.basename)
(3-3) line_no -> lineno (We have already similar name
File#lineno, commented by kou [ruby-dev:45686]).
(3-4) filename -> path.
(3-5) filepath -> absolute_path.
(3-5) iseq -> removed (we will make other APIs to access iseq
and other information of frame for debugging).
* test/ruby/test_backtrace.rb: apply above changes.
And apply comment from kou [ruby-dev:45686].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -1,3 +1,24 @@ +Sun Jun 3 01:36:52 2012 Koichi Sasada <ko1@atdot.net> + + * vm_backtrace.c: change names. + (1) Class name: RubyVM::FrameInfo -> RubyVM::Backtrace::Location. + (2) Method name: RubyVM::FrameInfo.caller -> + Kernel.caller_locations. + (3) Instance methods of + RubyVM::FrameInfo (RubyVM::Backtrace::Location) + (3-1) name -> label + (3-2) basename -> base_label (basename is confusing with + File.basename) + (3-3) line_no -> lineno (We have already similar name + File#lineno, commented by kou [ruby-dev:45686]). + (3-4) filename -> path. + (3-5) filepath -> absolute_path. + (3-5) iseq -> removed (we will make other APIs to access iseq + and other information of frame for debugging). + + * test/ruby/test_backtrace.rb: apply above changes. + And apply comment from kou [ruby-dev:45686]. + Sun Jun 3 00:49:11 2012 Koichi Sasada <ko1@atdot.net> * common.mk: fix to build vm_backtrace.c only itself (vm_backtrace.c |