v8/src/parsing
Toon Verwaest 1d0385cdd8 [parser] Reduce reliance on has_error()
Instead we can typically check whether the expression or statement we just
parsed indicate failure.

Bug: v8:8363, v8:7926
Change-Id: I477511f9f2f0e615a07285db858a237af8478edc
Reviewed-on: https://chromium-review.googlesource.com/c/1323553
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57322}
2018-11-07 17:42:23 +00:00
..
expression-classifier.h [parser] Use scope instead of explicit discarding of classifier 2018-10-18 08:50:23 +00:00
expression-scope-reparenter.cc [ast] Introduce ZonePtrList<T> typedef for ZoneList<T*>. 2018-07-04 09:04:55 +00:00
expression-scope-reparenter.h [parser] Alternative fix for chromium:740591 2017-08-09 10:54:09 +00:00
func-name-inferrer.cc [parser] Use std::vector and cache top in State in FuncNameInferrer 2018-10-25 09:01:08 +00:00
func-name-inferrer.h [parser] Use std::vector and cache top in State in FuncNameInferrer 2018-10-25 09:01:08 +00:00
OWNERS [parser] Add leszeks to OWNERS 2018-10-05 09:45:05 +00:00
parse-info.cc Rename fields to names or members 2018-11-06 16:04:08 +00:00
parse-info.h Rename fields to names or members 2018-11-06 16:04:08 +00:00
parser-base.h [parser] Reduce reliance on has_error() 2018-11-07 17:42:23 +00:00
parser.cc [parser] Reduce reliance on has_error() 2018-11-07 17:42:23 +00:00
parser.h [parser] Introduce FailureExpression to return instead of nullptr 2018-11-07 16:45:10 +00:00
parsing.cc [scanner] Go back to untemplatized scanning with buffering 2018-08-21 10:52:52 +00:00
parsing.h [Compiler] Move Ast value internalization until compile finalization. 2017-07-26 14:59:07 +00:00
pattern-rewriter.cc [parser] Introduce FailureExpression to return instead of nullptr 2018-11-07 16:45:10 +00:00
preparsed-scope-data-impl.h Compress memory by reordering members and storing bits in pointers. 2018-10-17 11:39:05 +00:00
preparsed-scope-data.cc [parser] Remove FLAG_preparser_scope_analysis and friends 2018-10-09 09:31:03 +00:00
preparsed-scope-data.h [cleanup] Refactor parser to use default members. 2018-09-14 14:47:47 +00:00
preparser-logger.h [Parsing] Remove PreParseData which is no longer used. 2018-08-22 15:14:53 +00:00
preparser.cc [parser] Use ScopedPtrList for more statement lists 2018-11-05 16:21:28 +00:00
preparser.h [parser] Reduce reliance on has_error() 2018-11-07 17:42:23 +00:00
rewriter.cc Rename fields to names or members 2018-11-06 16:04:08 +00:00
rewriter.h [Compiler] Move Ast value internalization until compile finalization. 2017-07-26 14:59:07 +00:00
scanner-character-streams.cc Reland "[Compile] Refactor BackgroundCompileTask to enable its use by CompilerDispatcher" 2018-09-25 11:24:14 +00:00
scanner-character-streams.h Reland "[Compile] Refactor BackgroundCompileTask to enable its use by CompilerDispatcher" 2018-09-25 11:24:14 +00:00
scanner-inl.h [parser] Remove RETURN_IF* part 11 2018-10-29 13:49:56 +00:00
scanner.cc Reland "[parser] Set all tokens to ILLEGAL on parser error" 2018-10-29 13:07:26 +00:00
scanner.h Reland "[parser] Optimize directive parsing especially for preparser" 2018-11-02 17:41:51 +00:00
token.cc [token] Make sure we can simply range-check IsAnyIdentifier 2018-08-29 14:28:34 +00:00
token.h [parser] Refactor ParseMemberExpression 2018-10-18 15:40:28 +00:00