re_intuit_start(): swap two blocks, delete label
authorDavid Mitchell <davem@iabyn.com>
Mon, 17 Feb 2014 20:37:13 +0000 (20:37 +0000)
committerDavid Mitchell <davem@iabyn.com>
Sun, 16 Mar 2014 18:03:49 +0000 (18:03 +0000)
commit3369914b87d2d563caa427611eb6e81820d8796a
tree6248b82d1cbf3ad81fe81a038928253e4dfb24d3
parent9fed8d02fb387e26fe15437b6fa29f16095fba55
re_intuit_start(): swap two blocks, delete label

Change

    if (!have_anchored) {
        A;
        goto hop_and_restart;
    }

    if (check_ix == 1) {
        B;
    }

  hop_and_restart:
    C;

To:

    if (have_anchored && check_ix == 1) {
        B;
    }

    if (!have_anchored) {
        A;
    }

    C;

This change should be functionally equivalent, but eliminates a label.
regexec.c