[ruby-cvs:69662] naruse:r62481 (ruby_2_5): merge revision(s) 61711:

naruse at ruby-lang.org naruse at ruby-lang.org
Mon Feb 19 15:33:01 JST 2018


naruse	2018-02-19 15:33:01 +0900 (Mon, 19 Feb 2018)

  New Revision: 62481

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

  Log:
    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]>.

  Modified directories:
    branches/ruby_2_5/
  Modified files:
    branches/ruby_2_5/compile.c
    branches/ruby_2_5/version.h


More information about the ruby-cvs mailing list