[ruby-cvs:61242] nobu:r54081 (trunk): iseq.h: coverage_enabled flag

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Mar 10 17:34:18 JST 2016


nobu	2016-03-10 17:34:18 +0900 (Thu, 10 Mar 2016)

  New Revision: 54081

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

  Log:
    iseq.h: coverage_enabled flag
    
    * iseq.c (prepare_iseq_build): enable coverage by coverage_enabled
      option, not by parse_in_eval flag in the thread context.
    * iseq.h (rb_compile_option_struct): add coverage_enabled flag.
    * parse.y (yycompile0): set coverage_enabled flag if coverage
      array is made.

  Modified files:
    trunk/ChangeLog
    trunk/iseq.c
    trunk/iseq.h
    trunk/parse.y


More information about the ruby-cvs mailing list