diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-20 10:45:48 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-20 10:45:48 +0000 |
commit | 6c9a7050329e1da977319e55aa9728c9b50f8250 (patch) | |
tree | 8afe24031dd9782060a72982bbca0fb68681acad /insns.def | |
parent | e05e77fd6de19800442c613b2a4e6488339111fb (diff) | |
download | ruby-6c9a7050329e1da977319e55aa9728c9b50f8250.tar.gz |
Remove tracecoverage instructions
The instructions were used only for branch coverage.
Instead, it now uses a trace framework [Feature #14104].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -688,19 +688,6 @@ checktype ret = (TYPE(val) == (int)type) ? Qtrue : Qfalse; } -/* fire a coverage event (currently, this is used for line coverage and branch coverage) */ -DEFINE_INSN -tracecoverage -(rb_num_t nf, VALUE data) -() -() -{ - rb_event_flag_t flag = (rb_event_flag_t)nf; - - vm_dtrace(flag, ec); - EXEC_EVENT_HOOK(ec, flag, GET_SELF(), 0, 0, 0 /* id and klass are resolved at callee */, data); -} - /**********************************************************/ /* deal with control flow 1: class/module */ /**********************************************************/ |