v8/src/ast
Jakob Kummerow cfc6a5c2c6 Reland: [cleanup] Refactor the Factory
There is no good reason to have the meat of most objects' initialization
logic in heap.cc, all wrapped by the CALL_HEAP_FUNCTION macro. Instead,
this CL changes the protocol between Heap and Factory to be AllocateRaw,
and all object initialization work after (possibly retried) successful
raw allocation happens in the Factory.

This saves about 20KB of binary size on x64.

Original review: https://chromium-review.googlesource.com/c/v8/v8/+/959533
Originally landed as r52416 / f9a2e24bbc

Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
Change-Id: Id072cbe6b3ed30afd339c7e502844b99ca12a647
Reviewed-on: https://chromium-review.googlesource.com/1000540
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Hannes Payer <hpayer@chromium.org>
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52492}
2018-04-09 19:52:22 +00:00
..
ast-function-literal-id-reindexer.cc
ast-function-literal-id-reindexer.h [presubmit] Add include guard check 2018-02-02 16:59:32 +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 Reland "[esnext] re-implement template strings" 2018-03-14 18:12:09 +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 Reland: [cleanup] Refactor the Factory 2018-04-09 19:52:22 +00:00
ast.cc [runtime][parser] Store the inferred function name on the ScopeInfo 2018-04-05 21:18:52 +00:00
ast.h Reland: [cleanup] Refactor the Factory 2018-04-09 19:52:22 +00:00
compile-time-value.cc Reland: [cleanup] Refactor the Factory 2018-04-09 19:52:22 +00:00
compile-time-value.h [presubmit] Add include guard check 2018-02-02 16:59: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 Remove mtrofin and rossberg from OWNERS 2018-02-15 23:48:43 +00:00
prettyprinter.cc Reland "[esnext] re-implement template strings" 2018-03-14 18:12:09 +00:00
prettyprinter.h [es6/cleanup]: re-implement ES6 array spreads in BytecodeGenerator 2017-12-15 17:56:27 +00:00
scopes.cc [parser] Fix aborting preparsing of a function with a rest param. 2018-03-21 09:04:07 +00:00
scopes.h Replace MUST_USE_RESULT by V8_WARN_UNUSED_RESULT 2018-04-09 18:37:02 +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