1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/include/ruby
mame c08e8886ba compile.c: add a RUBY_EVENT_COVERAGE_LINE event for line coverage
2.5's line coverage measurement was about two times slower than 2.4
because of two reasons; (1) vm_trace uses rb_iseq_event_flags (which
takes O(n) currently where n is the length of iseq) to get an event
type, and (2) RUBY_EVENT_LINE uses setjmp to call an event hook.

This change adds a special event for line coverage,
RUBY_EVENT_COVERAGE_LINE, and adds `tracecoverage` instructions where
the event occurs in iseq.
`tracecoverage` instruction calls an event hook without vm_trace.
And, RUBY_EVENT_COVERAGE_LINE is an internal event which does not
use setjmp.

This change also cancells lineno change due to the deletion of trace
instructions [Feature #14104].  So fixes [Bug #14191].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-20 04:24:14 +00:00
..
backward * include/ruby/backward/util.h: Good-by Borland-C. 2015-10-18 05:41:34 +00:00
backward.h vm.c: partially revert r60558 2017-12-01 12:26:40 +00:00
debug.h export rb_tracearg_callee_id(). 2017-11-16 07:41:33 +00:00
defines.h defines.h: warn EXTERN 2017-10-13 08:29:52 +00:00
encoding.h encoding.h: include ruby/ruby.h 2016-10-23 02:41:43 +00:00
intern.h suppress warning: 'const' attribute on function returning 'void' 2017-12-18 09:03:59 +00:00
io.h * configure.in: check function attirbute const and pure, 2016-05-08 17:44:51 +00:00
missing.h Remove missing/strtol.c 2017-04-21 06:03:12 +00:00
onigmo.h Update to Onigmo 6.1.3-669ac9997619954c298da971fcfacccf36909d05. 2017-12-01 13:50:13 +00:00
oniguruma.h Merge Onigmo 6.0.0 2016-12-10 17:47:04 +00:00
re.h re.c: rb_reg_region_copy 2014-12-01 21:30:58 +00:00
regex.h defines.h: RUBY_SYMBOL_EXPORT_{BEGIN,END} 2013-04-05 10:29:38 +00:00
ruby.h compile.c: add a RUBY_EVENT_COVERAGE_LINE event for line coverage 2017-12-20 04:24:14 +00:00
st.h st.c: fix st_hash* functions [Bug #13019] 2016-12-21 06:22:16 +00:00
subst.h
thread.h defines.h: RUBY_SYMBOL_EXPORT_{BEGIN,END} 2013-04-05 10:29:38 +00:00
thread_native.h * ext/openssl/depend: remove dependency from internal headers. 2014-05-14 10:55:38 +00:00
util.h util.h: remove my_getcwd 2017-11-26 01:36:33 +00:00
version.h include/ruby/version.h: Update API version. 2016-12-25 16:53:00 +00:00
vm.h defines.h: RUBY_SYMBOL_EXPORT_{BEGIN,END} 2013-04-05 10:29:38 +00:00
win32.h undef previous definition of SIZEOF_STRUCT_STAT_ST_INO 2017-12-11 16:06:41 +00:00