http://codereview.chromium.org/8662037/diff/1/src/parser.cc
File src/parser.cc (right):

http://codereview.chromium.org/8662037/diff/1/src/parser.cc#newcode4106
src/parser.cc:4106: // compile if we do not have preparser data for the
function.
That was actually correct before - if the script was large enough, we
created pre-parser data, so at this point we would have it.

This CL changes that. We now don't create preparse data ahead of time,
but instead call the preparser only on the body of the function - if we
are allowed to compile lazily (some calls to Parse expects a full AST
afterwards).

So the comment is outdated now. Will change.

http://codereview.chromium.org/8662037/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to