diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-09 06:17:21 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-09 06:17:21 +0000 |
commit | cdd77289afc9e2b18f33bed1c4ecb1d3e02bd8f0 (patch) | |
tree | 1c257c1e56fcf58a29bf5902dcfe3c199c79e85a /vm.c | |
parent | 3cfa84d562d85f4ba8e4ad2aea08ef606c9b68a5 (diff) | |
download | ruby-cdd77289afc9e2b18f33bed1c4ecb1d3e02bd8f0.tar.gz |
compile.c (iseq_compile_each0): remove irrelevant tracecoverage
This change removes tracecoverage instructions on a line that has any
NODE but is non-significant, such as, just one literal.
This fixes the following failure that occurs only when coverage is
enabled:
1) Failure:
TestISeq#test_to_a_lines [.../ruby/test/ruby/test_iseq.rb:56]:
<[3, 4, 7, 9]> expected but was
<[3, 4, 5, 6, 7, 8, 9]>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
0 files changed, 0 insertions, 0 deletions