v8/src/parsing
Camillo Bruni 2ba5c10db1 [scope] Use contains_asm_module_ bit to bypass recursive checks
Parser::MaybeResetCharacterStream calls Scope::ContainsAsmModule which
recursively checks whether a Scope is an asm module or any of its
sub-scopes. This is sub-optimal for deeply nested scopes and many
functions which do not contain any asm modules.

Drive-by-fix:
- rename Scope::asm_module to Scope::is_asm_module


Change-Id: I922270c608b54c6525f0672ead4aca90f57a6551
Reviewed-on: https://chromium-review.googlesource.com/c/1360636
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58288}
2018-12-17 15:48:59 +00:00
..
expression-classifier.h [parser] Change pattern error message so we can drop ExpressionClassifier::Error::arg 2018-11-29 15:02:26 +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
keywords-gen.h [parser] Remove #line directives from keywords-gen.h 2018-11-28 15:22:05 +00:00
keywords.txt Reland "[parser] Perfect hash for keywords" 2018-11-26 14:10:24 +00:00
OWNERS [parser] Add leszeks to OWNERS 2018-10-05 09:45:05 +00:00
parse-info.cc [cleanup] Make unicode predicate cache tables static 2018-11-14 15:33:45 +00:00
parse-info.h [scope] Use contains_asm_module_ bit to bypass recursive checks 2018-12-17 15:48:59 +00:00
parser-base.h Revert "[parser] Improve error message for unclosed function bodies" 2018-12-10 13:09:07 +00:00
parser.cc [scope] Use contains_asm_module_ bit to bypass recursive checks 2018-12-17 15:48:59 +00:00
parser.h [parser] Restructure identifier classifying 2018-11-30 16:41:39 +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 [scopes] Push unresolved variables at the back so we can MoveTail to rescope 2018-11-27 11:55:46 +00:00
preparsed-scope-data-impl.h [parser] Avoid reversing inner PreparseScopeData order 2018-12-04 10:39:17 +00:00
preparsed-scope-data.cc [parser] Avoid reversing inner PreparseScopeData order 2018-12-04 10:39:17 +00:00
preparsed-scope-data.h [parser] Only write into the active preparsed_scope_data_builder 2018-11-14 16:48:02 +00:00
preparser-logger.h [Parsing] Remove PreParseData which is no longer used. 2018-08-22 15:14:53 +00:00
preparser.cc [parser] Restructure identifier classifying 2018-11-30 16:41:39 +00:00
preparser.h [parser] Restructure identifier classifying 2018-11-30 16:41:39 +00:00
rewriter.cc [parser] Remove broken/half-implemented do-expressions 2018-11-09 13:22:56 +00:00
rewriter.h [parser] Remove broken/half-implemented do-expressions 2018-11-09 13:22:56 +00:00
scanner-character-streams.cc [Cleanup] String::GetChars() should take a DisallowHeapAllocation ref. 2018-12-04 16:07:46 +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 Reland "[parser] Perfect hash for keywords" 2018-11-26 14:10:24 +00:00
scanner.cc Reland "[parser] Perfect hash for keywords" 2018-11-26 14:10:24 +00:00
scanner.h [parser] Cleanup token ranges 2018-12-03 10:29:59 +00:00
token.cc [parser] Cleanup property name parsing, introduce token flags 2018-12-03 11:43:33 +00:00
token.h [parser] Cleanup property name parsing, introduce token flags 2018-12-03 11:43:33 +00:00