Project

General

Profile

« Previous | Next » 

Revision cf09c0c3

Added by nobu (Nobuyoshi Nakada) over 9 years ago

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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e