[ruby-cvs:60013] ko1:r52860 (trunk): * iseq.h: introduce ISEQ_COVERAGE() and ISEQ_COVERAGE_SET() macro.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Wed Dec 2 17:05:37 JST 2015


ko1	2015-12-02 17:05:36 +0900 (Wed, 02 Dec 2015)

  New Revision: 52860

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

  Log:
    * iseq.h: introduce ISEQ_COVERAGE() and ISEQ_COVERAGE_SET() macro.
    
    * compile.c: use them.
    
    * iseq.c: ditto.
    
    * iseq.c (rb_iseq_coverage): added.
    
    * thread.c (update_coverage): use rb_iseq_coverage().
    
    * vm_core.h: rename coverage field name to support this fix.

  Modified files:
    trunk/ChangeLog
    trunk/compile.c
    trunk/iseq.c
    trunk/iseq.h
    trunk/thread.c
    trunk/vm_core.h


More information about the ruby-cvs mailing list