v8/src/ast
Leszek Swirski 9128e8bf1b [ignition] Move object/array literal init to bytecode gen
Move the object and array literal flag and depth initialization to when
they are visited by the bytecode generator. This avoids issues with
doing this initialization before we know whether the (syntactic) literal
is actually a literal value or a destructuring assignment.

Bug: chromium:795922
Bug: v8:7178
Change-Id: I022178ab4bc9e71f80560f3b78a759d95d4d0584
Reviewed-on: https://chromium-review.googlesource.com/833882
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50204}
2017-12-19 14:50:19 +00:00
..
ast-function-literal-id-reindexer.cc include fixing: api.h shouldn't include objects-inl.h 2017-01-09 13:43:28 +00:00
ast-function-literal-id-reindexer.h Assign unique IDs to FunctionLiterals 2016-11-28 11:40:53 +00:00
ast-numbering.cc [parser] Move optimization disabling to parser 2017-12-18 16:30:32 +00:00
ast-numbering.h [Cleanup][Interpreter] Move feedback slot allocation to bytecode generator 2017-10-19 16:17:14 +00:00
ast-source-ranges.h Reland "[coverage] add coverage for binary expressions" 2017-11-24 08:44:23 +00:00
ast-traversal-visitor.h [parser] Fix func numbering inside for in. 2017-12-01 14:12:12 +00:00
ast-value-factory.cc [Ast] Teach Ast Printer to print raw literal values. 2017-11-09 17:03:01 +00:00
ast-value-factory.h [class] Store class fields initializer on the constructor 2017-11-27 10:35:11 +00:00
ast.cc [parser] Move literal initialization to parser 2017-12-18 16:14:47 +00:00
ast.h [ignition] Move object/array literal init to bytecode gen 2017-12-19 14:50:19 +00:00
compile-time-value.cc [literals] Disable double lazy boilerplate for literals containing Arrays 2017-07-12 19:11:04 +00:00
compile-time-value.h [runtime] Ensure slow properties for simple {__proto__:null} literals. 2017-04-27 14:48:32 +00:00
context-slot-cache.cc [iwyu] Remove stale TODOs about objects-inl.h inclusion. 2017-10-09 11:14:59 +00:00
context-slot-cache.h Use nullptr instead of NULL where possible 2017-10-13 17:21:49 +00:00
modules.cc [cleanup] Move modules-related code into src/objects/. 2017-08-23 09:28:03 +00:00
modules.h Convert ZoneList to ZoneVector in Module data structures 2017-10-19 15:08:14 +00:00
OWNERS Add COMPONENT tags to OWNERS files where appropriate 2017-05-22 10:15:28 +00:00
prettyprinter.cc [es6/cleanup]: re-implement ES6 array spreads in BytecodeGenerator 2017-12-15 17:56:27 +00:00
prettyprinter.h [es6/cleanup]: re-implement ES6 array spreads in BytecodeGenerator 2017-12-15 17:56:27 +00:00
scopes.cc Reland "Fix "this" value in lazily-parsed module functions." 2017-12-12 17:23:35 +00:00
scopes.h Reland "Fix "this" value in lazily-parsed module functions." 2017-12-12 17:23:35 +00:00
variables.cc Make some functions that are hit during renderer startup available for inlining 2017-06-26 18:17:05 +00:00
variables.h Use nullptr instead of NULL where possible 2017-10-13 17:21:49 +00:00