This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add PMf_IS_QR flag
authorDavid Mitchell <davem@iabyn.com>
Wed, 7 Dec 2011 11:29:27 +0000 (11:29 +0000)
committerDavid Mitchell <davem@iabyn.com>
Wed, 13 Jun 2012 12:32:46 +0000 (13:32 +0100)
commit2a92a97368adae0667f9a98890bb48727ed74e54
tree7574572be9929ef6633dad50b46aa91c89d7d1ea
parent6f635923850b5cd9fcb7399e6455299f0371c5ff
add PMf_IS_QR flag

This indicates that a particular PMOP is in fact OP_QR. We should of
course be able to tell this from op_type, but the regex-compiling API
only gets passed op_flags.

This then allows us to fix a bug where we were deciding during compilation
whether to hang on to the code_blocks based on whether the PMOP was
PMf_HAS_CV rather than PMf_IS_QR; the latter implies the former, but not
the other way round.
dump.c
op.c
op.h
pp_ctl.c
regcomp.c