v8/src/parsing
Leszek Swirski 6bd1d3c280 [objects] Merge SFI outer_scope_info and feedback_metadata
Merge the outer_scope_info and feedback_metadata fields on
SharedFunctionInfo. outer_scope_info is only used during parsing,
and feedback_metadata is only available after compilation, so the
two never exist at the same time. Thus, they can share a field slot.

The exception is un-compiling and re-compiling a function, where we
need the outer_scope_info again. Fortunately, the outer_scope_info
can be re-calculated from the SFI's scope_info.

Bug: v8:7606
Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
Change-Id: I6b97fefe859e89df75ad870da4a0bfa4b869772a
Reviewed-on: https://chromium-review.googlesource.com/992432
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: Georg Neis <neis@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52454}
2018-04-06 15:06:04 +00:00
..
duplicate-finder.h [parser] Simplify DuplicateFinder. 2017-03-16 17:44:14 +00:00
expression-classifier.h [presubmit] Add include guard check 2018-02-02 16:59:32 +00:00
expression-scope-reparenter.cc [ESNext] Implement optional catch binding 2018-01-08 18:09:34 +00:00
expression-scope-reparenter.h [parser] Alternative fix for chromium:740591 2017-08-09 10:54:09 +00:00
func-name-inferrer.cc [cleanup] Fix (D)CHECK macros in src/{ast,parsing} 2017-10-16 14:22:59 +00:00
func-name-inferrer.h [parser/ast] Remove AstString, in favour of stand-alons Ast(Raw|Cons)String. 2017-03-24 13:35:47 +00:00
OWNERS Remove mtrofin and rossberg from OWNERS 2018-02-15 23:48:43 +00:00
parse-info.cc [objects] Merge SFI outer_scope_info and feedback_metadata 2018-04-06 15:06:04 +00:00
parse-info.h [objects] Rename SFI compiler_hints to flags 2018-03-27 13:15:26 +00:00
parser-base.h Revert "Reland "[parser] Remove pretenuring of closures assigned to properties"" 2018-03-26 19:09:22 +00:00
parser.cc [runtime] Deduplicate the name between SFI and ScopeInfo 2018-03-16 16:49:42 +00:00
parser.h Revert "Reland "[parser] Remove pretenuring of closures assigned to properties"" 2018-03-26 19:09:22 +00:00
parsing.cc [runtime] Store position information on ScopeInfo 2018-03-16 11:51:04 +00:00
parsing.h [Compiler] Move Ast value internalization until compile finalization. 2017-07-26 14:59:07 +00:00
pattern-rewriter.cc Reland "[esnext] re-implement template strings" 2018-03-14 18:12:09 +00:00
preparse-data.cc Remove support for unused compile options. 2018-02-21 09:51:31 +00:00
preparse-data.h Remove support for unused compile options. 2018-02-21 09:51:31 +00:00
preparsed-scope-data.cc [parser] Skipping inner funcs: Fix variable name debug mode check. 2018-02-15 08:16:38 +00:00
preparsed-scope-data.h [parser] Skipping inner funcs: use ZoneChunkList instead of ZoneDeque. 2017-11-07 12:00:50 +00:00
preparser.cc [class] Ban private field deletion 2018-02-21 19:14:23 +00:00
preparser.h Revert "Reland "[parser] Remove pretenuring of closures assigned to properties"" 2018-03-26 19:09:22 +00:00
rewriter.cc [runtime] Refactor RuntimeCallStats counters to use enums. 2017-11-30 11:32:53 +00:00
rewriter.h [Compiler] Move Ast value internalization until compile finalization. 2017-07-26 14:59:07 +00:00
scanner-character-streams.cc Implement DFA Unicode Decoder 2017-12-11 21:36:13 +00:00
scanner-character-streams.h [wasm][asm.js] Adding custom asm.js lexer. 2017-03-16 18:10:45 +00:00
scanner.cc [numeric separator] Simplify error handling 2018-03-15 12:09:06 +00:00
scanner.h [numeric separator] Simplify error handling 2018-03-15 12:09:06 +00:00
token.cc [parser] Introduce 'contextual keyword tokens'. 2017-03-28 12:43:23 +00:00
token.h [esnext] Remove always-disabled support for function.sent 2018-02-26 20:01:41 +00:00