[ruby-cvs:67966] yui-knk:r60785 (trunk): Add a last location to branch coverage

yui-knk at ruby-lang.org yui-knk at ruby-lang.org
Thu Nov 16 12:36:20 JST 2017


yui-knk	2017-11-16 12:36:20 +0900 (Thu, 16 Nov 2017)

  New Revision: 60785

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

  Log:
    Add a last location to branch coverage
    
    * compile.c (DECL_BRANCH_BASE, ADD_TRACE_BRANCH_COVERAGE): Add
      a last location to arguments.
    
    * compile.c (compile_if, compile_case, compile_case2, compile_loop, iseq_compile_each0):
      Pass a last location to macros.
    
    * ext/coverage/coverage.c (branch_coverage): Add a last location to
      a return value.
    
    * test/coverage/test_coverage.rb: Follow-up these changes.

  Modified files:
    trunk/compile.c
    trunk/ext/coverage/coverage.c
    trunk/test/coverage/test_coverage.rb


More information about the ruby-cvs mailing list