Reviewers: jochen, marja,
Message:
I'm not quite done, but this should be close to its final form. I'd be
happy if
you could have a look, now-ish.
I tried hard to make this look pretty and minimally intrusive; please let me
know in case I wasn't successful.
@jochen: For general opinion.
@marja: Since this tramples all over the parser, please have a look.
@both: How should I test this?
Description:
Implement a 'trial parse' step, that will abort pre-parsing excessively
long and trivial functions, so that they can be eagerly compiled after all.
This essentially allows the parser to renege on its earlier decision to
lazy-parse, if additional information suggests it was a bad decision.
BUG=chromium:470930
Please review this at https://codereview.chromium.org/1102523003/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+273, -35 lines):
M src/parser.h
M src/parser.cc
M src/preparser.h
M src/preparser.cc
M src/scanner.h
M src/scanner.cc
M src/scanner-character-streams.h
M src/scanner-character-streams.cc
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.