diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-30 18:02:43 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-30 18:02:43 +0000 |
commit | 5697f69baa942ae117c66322bca0088cbb38557f (patch) | |
tree | e86bbaa4edb48940a45b372e27f0b32b94a05476 /ChangeLog | |
parent | 57a83c4c9ac1de6da5184972cc10e33f44f6f747 (diff) |
* iseq.c: add RubyVM::InstructionSequence (ISeq) inspection methods.
* ISeq#path returns path of this ISeq written.
* ISeq#absolute_path returns absolute path.
* ISeq#label returns label (method name and so on).
* ISeq#base_label returns base label (see Thread::Backtrace::Location).
* ISeq#first_lineno returns first line number of this ISeq.
* ISeq.of(obj) returns ISeq object which obj (Proc or Method)
is contains.
* test/ruby/test_iseq.rb: add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,16 @@ +Sat Dec 1 02:56:19 2012 Koichi Sasada <ko1@atdot.net> + + * iseq.c: add RubyVM::InstructionSequence (ISeq) inspection methods. + * ISeq#path returns path of this ISeq written. + * ISeq#absolute_path returns absolute path. + * ISeq#label returns label (method name and so on). + * ISeq#base_label returns base label (see Thread::Backtrace::Location). + * ISeq#first_lineno returns first line number of this ISeq. + * ISeq.of(obj) returns ISeq object which obj (Proc or Method) + is contains. + + * test/ruby/test_iseq.rb: add tests. + Sat Dec 1 02:58:51 2012 Eric Hodel <drbrain@segment7.net> * include/ruby/ruby.h (rb_event_flag_t): Maintain integer precision |