This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
unlink re_eval code blocks from op list
authorDavid Mitchell <davem@iabyn.com>
Fri, 21 Oct 2011 14:00:47 +0000 (15:00 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 13 Jun 2012 12:25:50 +0000 (13:25 +0100)
commit8a45afe535d962511dc34619dcdb405aeff849da
tree92e92ab5fda26fc593479a1e35fad3717226bbd6
parente174e89a6052ba796c47d7ef3085a9d6ba21a30b
unlink re_eval code blocks from op list

In the list of ops generated by something like /abc(?{...})def/,

const(abc)
null/special
    ...
const(...)
const(def)

link the list, but skip the DO blocks. This means that for the runtime
case, we no longer need the temporary measure of deleting the DO blocks,
and it will facilitate the next step of handling literal code at runtime,
i.e. /$runtime(?{...})/.
op.c