Home | History | Annotate | Download | only in regexp

Lines Matching defs:backtrack

774 //       push backtrack code location
776 // backtrack code location:
782 // <push affected registers on backtrack stack>
784 // push backtrack code location
786 // backtrack code location:
788 // <pop backtrack location from stack and go to it>
795 // <pop backtrack location from stack and go to it>
821 // then need to backtrack to a point where it can match "foo". The naive
841 // current position offset, an optional backtrack code location on the top of
842 // the virtualized backtrack stack and some register changes. When a node is
849 // known backtrack code location than it is to pop an unknown backtrack
1309 // need to undo a setting on backtrack
1375 if (actions_ == NULL && backtrack() == NULL) {
1389 if (backtrack() != NULL) {
1390 // Here we have a concrete backtrack location. These are set up by choice
1421 // On backtrack we need to restore state.
1427 if (backtrack() == NULL) {
1428 assembler->Backtrack();
1431 assembler->GoTo(backtrack());
1447 // Throw away everything on the backtrack stack since the start
1458 // backtrack that the BeginSubmatch node got.
1459 assembler->Backtrack();
1476 case BACKTRACK:
1477 assembler->GoTo(trace->backtrack());
1598 trace->backtrack());
1604 trace->backtrack());
2479 // choices can succeed, so we can just immediately backtrack, rather
2482 bounds_check_trace->backtrack(),
2523 assembler->CheckNotCharacterAfterAnd(value, mask, trace->backtrack());
2525 assembler->CheckNotCharacter(value, trace->backtrack());
3044 new_trace.backtrack(),
3047 new_trace.backtrack())) {
3053 assembler->CheckNotCharacter('\r', new_trace.backtrack());
3124 new_trace.backtrack() :
3128 new_trace.backtrack();
3166 assembler->GoTo(trace->backtrack());
3172 assembler->GoTo(trace->backtrack());
3176 assembler->CheckNotAtStart(trace->cp_offset(), trace->backtrack());
3249 Label* backtrack = trace->backtrack();
3266 assembler->GoTo(backtrack);
3285 emit_function(isolate, compiler, quarks[j], backtrack,
3297 EmitCharClass(assembler, cc, one_byte, backtrack, cp_offset,
3904 * backtrack V
3928 * Q2 ---> U----->backtrack
4061 // time around the switch. On backtrack we decrement the current position
4062 // and check it against the pushed value. This avoids pushing backtrack
4090 // If we have unwound to the bottom then backtrack.
4091 macro_assembler->CheckGreedyLoop(trace->backtrack());
4113 // but there is no need, because the code it generates cannot backtrack, and
4206 macro_assembler->GoTo(trace->backtrack());
4341 // can just backtrack immediately.
4342 assembler->GoTo(trace->backtrack());
4360 trace->backtrack());
4390 DCHECK(trace->backtrack() == NULL);
4391 assembler->Backtrack();
4416 start_reg_, read_backward(), compiler->unicode(), trace->backtrack());
4419 trace->backtrack());
4426 assembler->CheckNotInSurrogatePair(trace->cp_offset(), trace->backtrack());
5593 // backtrack.
6691 if (node == NULL) node = new(zone) EndNode(EndNode::BACKTRACK, zone);