static
int getLimexScore(const build_info &args, u32 nShifts) {
const NGHolder &h = args.h;
- u32 maxVarShift = nShifts;
+ u32 maxVarShift;
int score = 0;
score += SHIFT_COST * nShifts;
verm_restart:;
assert(buf[curr] == kp->u.verm.c);
- size_t test = curr;
+ size_t test;
if (curr + min_rep < length) {
test = curr + min_rep;
} else {
m128 hi = kp->u.shuf.mask_hi;
shuf_restart:
assert(do_single_shufti(lo, hi, buf[curr]));
- size_t test = curr;
+ size_t test;
if (curr + min_rep < length) {
test = curr + min_rep;
} else {
const m128 mask1 = kp->u.truffle.mask1;
const m128 mask2 = kp->u.truffle.mask2;
truffle_restart:;
- size_t test = curr;
+ size_t test;
if (curr + min_rep < length) {
test = curr + min_rep;
} else {
nverm_restart:;
assert(buf[curr] != kp->u.verm.c);
- size_t test = curr;
+ size_t test;
if (curr + min_rep < length) {
test = curr + min_rep;
} else {
return;
}
- NFAVertex dotV = NGHolder::null_vertex();
+
set<NFAVertex> otherV;
- dotV = findReformable(g, compAnchoredStarts, otherV);
+ NFAVertex dotV = findReformable(g, compAnchoredStarts, otherV);
if (dotV == NGHolder::null_vertex()) {
DEBUG_PRINTF("no candidate reformable dot found.\n");
return;
}
while (true) {
- NFAVertex dotV = NGHolder::null_vertex();
+
set<NFAVertex> otherV;
- dotV = findReformable(g, compUnanchoredStarts, otherV);
+ NFAVertex dotV = findReformable(g, compUnanchoredStarts, otherV);
if (dotV == NGHolder::null_vertex()) {
DEBUG_PRINTF("no candidate reformable dot found.\n");
return;