Reviewers: Erik Corry,

Message:
Semi-tricky review.

Description:
Trace contains information about whether we know that we are at the
start of input.
Choice nodes may know that they are never not at the start of input.
This can remove start_of_input assertions in cases where they are
statically known to fail.
The initial loop is unrolled once if the regexp might check for the
start of input. Only the first iteration may be at the start, the
following loop knows that it isn't.

Please review this at http://codereview.chromium.org/19539

Affected files:
   M src/ast.h
   M src/ast.cc
   M src/flags.cc
   M src/jsregexp.h
   M src/jsregexp.cc
   M src/parser.cc



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to