[前][次][番号順一覧][スレッド一覧]

ruby-changes:27349

From: marcandre <ko1@a...>
Date: Sat, 23 Feb 2013 08:19:48 +0900 (JST)
Subject: [ruby-changes:27349] marcandRe: r39401 (trunk): * NEWS: + RubyVM::InstructionSequence new methods

marcandre	2013-02-23 08:17:06 +0900 (Sat, 23 Feb 2013)

  New Revision: 39401

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39401

  Log:
    * NEWS: + RubyVM::InstructionSequence new methods

  Modified files:
    trunk/NEWS

Index: NEWS
===================================================================
--- NEWS	(revision 39400)
+++ NEWS	(revision 39401)
@@ -143,6 +143,11 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L143
       * added Range#bsearch for binary search.
 
   * RubyVM (MRI specific)
+    * added RubyVM::InstructionSequence.of to get the instruction sequence
+      from a method or a block.
+    * added RubyVM::InstructionSequence#path, #absolute_path, #label,
+      #base_label and #first_lineno to retrieve information from where
+      the instruction sequence was defined.
     * added Environment variables to specify stack usage:
       * RUBY_THREAD_VM_STACK_SIZE: vm stack size used at thread creation.
         default: 128KB (32bit CPU) or 256KB (64bit CPU).

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]