diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-18 02:44:36 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-18 02:44:36 +0000 |
commit | 501a8c8f447f5dda21ee20e900cec203ca348f35 (patch) | |
tree | acc092cd4b620f77c355b13f06f6f510604e79b9 /io.c | |
parent | 3a7ef5d774f5d9a7f31688686cc21744ac83c9fc (diff) | |
download | ruby-501a8c8f447f5dda21ee20e900cec203ca348f35.tar.gz |
iseq.c (finish_iseq_build): fix coverage leakage [Bug #14191]
Before this change, coverage.so had failed to measure some multiple-line
code fragments. This is because removing trace instructions (#14104)
changed TracePoint's lineno (new lineno), and coverage counter array was
based on old lineno.
This change initializes coverage counter array based on new lineno.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
0 files changed, 0 insertions, 0 deletions