aboutsummaryrefslogtreecommitdiffstats
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
commitd3140aca609457c32e57a9428770c9a2a80fb78e (patch)
tree6bb1c00b04458d141c87d15e68311ab502a18c28 /iseq.h
parenta023c34441e57a8d8553f28790fc458ebf4f27be (diff)
downloadruby-d3140aca609457c32e57a9428770c9a2a80fb78e.tar.gz
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 2062c33bb4..851eaeabbc 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