Project

General

Profile

« Previous | Next » 

Revision c1dc8a13

Added by naruse (Yui NARUSE) over 7 years ago

merge revision(s) 61711:

    compile.c (iseq_compile_each0): remove irrelevant tracecoverage

    This change removes tracecoverage instructions on a line that has any
    NODE but is non-significant, such as, just one literal.

    This fixes the following failure that occurs only when coverage is
    enabled:

      1) Failure:
    TestISeq#test_to_a_lines [.../ruby/test/ruby/test_iseq.rb:56]:
    <[3, 4, 7, 9]> expected but was
    <[3, 4, 5, 6, 7, 8, 9]>.

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