summaryrefslogtreecommitdiff
path: root/iseq.h
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-22 11:09:47 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-22 11:09:47 +0000
commit100bf2757468439106775a7d95a791a8c10b874a (patch)
tree6bb1c00b04458d141c87d15e68311ab502a18c28 /iseq.h
parentd65f7458bc8b4fa4404c41713cfa1ece5260fc8a (diff)
compile.c: remove tracecoverage instruction for line coverage
Line coverage was based on special instruction "tracecoverage". Now, instead, it uses the mechanism of trace hook [Feature #14104]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.h')
-rw-r--r--iseq.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/iseq.h b/iseq.h
index 2062c33..851eaea 100644
--- a/iseq.h
+++ b/iseq.h
@@ -72,7 +72,8 @@ ISEQ_ORIGINAL_ISEQ_ALLOC(const rb_iseq_t *iseq, long size)
RUBY_EVENT_CALL | \
RUBY_EVENT_RETURN| \
RUBY_EVENT_B_CALL| \
- RUBY_EVENT_B_RETURN)
+ RUBY_EVENT_B_RETURN| \
+ RUBY_EVENT_COVERAGE_LINE)
#define ISEQ_NOT_LOADED_YET IMEMO_FL_USER1
#define ISEQ_USE_COMPILE_DATA IMEMO_FL_USER2