This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pp_match(): refactor intuit-only code
authorDavid Mitchell <davem@iabyn.com>
Sun, 16 Jun 2013 14:45:20 +0000 (15:45 +0100)
committerDavid Mitchell <davem@iabyn.com>
Sun, 28 Jul 2013 09:33:35 +0000 (10:33 +0100)
commitbe09e22d0f77d10c521bf791cab949087840932a
treeac8a450c17ce7f82d7cb3e27718bbe2a620b2a9a
parentbf9dff51bf37800e5cb3a8f2e695757a14d07663
pp_match(): refactor intuit-only code

change

    if (intuit_only)
        goto yup:
    ...
  yup:
    A; B; X; Y;

to

    if (intuit_only)
        A; B;
        goto yup:
    ...
  yup:
    X; Y;

where A and B are intuit_only-specific steps while X and Y are done by the
regexec() branch too. This will shortly allow us to merge the two
branches.
pp_hot.c