From d3140aca609457c32e57a9428770c9a2a80fb78e Mon Sep 17 00:00:00 2001 From: mame Date: Wed, 22 Aug 2018 11:09:47 +0000 Subject: 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 --- iseq.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'iseq.h') 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 -- cgit v1.2.3