summaryrefslogtreecommitdiff
path: root/regsyntax.c
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-14 23:27:10 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-14 23:27:10 +0000
commitcc7bd8e5fff13b7b60e472748bfd4dc407c29bae (patch)
tree51c6584489083ecc4ecd65125b363cf2232a0bf1 /regsyntax.c
parent999b58c1ff0d6f533c1fa7c110820c0ed26ec88e (diff)
Unconditionally define `TRACE_INSN_P`
`TRACE_INSN_P` doesn't need to know about encoded iseqs, it just needs to look at decoded iseqs. We have the decoded iseqs available, so no reason to look at encoded ones. This change allows us to clear `original_iseq` from the iseq struct without any segvs (previously, clearing `original_iseq` would cause the tests to crash). * iseq.c (rb_iseq_trace_set): Only use decoded iseq with `TRACE_INSN_P` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regsyntax.c')
0 files changed, 0 insertions, 0 deletions