[ruby-cvs:60074] ko1:r52921 (trunk): * iseq.c (iseq_translate): at the end of constructing an iseq,

ko1 at ruby-lang.org ko1 at ruby-lang.org
Tue Dec 8 02:23:19 JST 2015

ko1	2015-12-08 02:23:18 +0900 (Tue, 08 Dec 2015)

  New Revision: 52921


    * iseq.c (iseq_translate): at the end of constructing an iseq,
      call RubyVM::InstructionSequence.translate(iseq) if this method
      is defined. If the return value is also an object of
      RubyVM::InstructionSequence, then use it instead of created one.
      For example, this method is useful to test iseq dumper/loader
      such as RubyVM::InstructionSequence#to_a and rb_iseq_load().
      Because this method is for such internal experimental usage,
      the interface is not matured. For example, this interface has
      no extensibility. Two or more translaters can not run
      So that we don't guarantee future compatibility of this method.
      Basically, do not use this method.

  Modified files:

More information about the ruby-cvs mailing list