• Adam Klein's avatar
    [ast] Move AstValue implementation into Literal · 317cf321
    Adam Klein authored
    This eliminates the AstValue class, effectively moving its
    implementation into the Literal AstNode. This should cause
    no difference in behavior, but it does signal some shifts
    in the underlying system. Biggest changes include:
    
      - Reduction in AST memory usage
      - No duplicate HeapNumbers in Ignition constant pools
      - Non-String values are allocated either at constant pool
        creation time (or at boilerplate creation time for literals),
        rather than at AstValueFactory::Internalize() time.
    
    There are a variety of test-only/debug-only changes due to these
    switches as well.
    
    Bug: v8:6984
    Change-Id: I5f178040ce2796d4e7370c24d1063419e1c843a1
    Reviewed-on: https://chromium-review.googlesource.com/731111
    Commit-Queue: Adam Klein <adamk@chromium.org>
    Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#49013}
    317cf321
Name
Last commit
Last update
..
api Loading commit data...
asmjs Loading commit data...
base Loading commit data...
compiler Loading commit data...
compiler-dispatcher Loading commit data...
heap Loading commit data...
interpreter Loading commit data...
libplatform Loading commit data...
parser Loading commit data...
wasm Loading commit data...
zone Loading commit data...
BUILD.gn Loading commit data...
DEPS Loading commit data...
bigint-unittest.cc Loading commit data...
cancelable-tasks-unittest.cc Loading commit data...
char-predicates-unittest.cc Loading commit data...
code-stub-assembler-unittest.cc Loading commit data...
code-stub-assembler-unittest.h Loading commit data...
counters-unittest.cc Loading commit data...
detachable-vector-unittest.cc Loading commit data...
eh-frame-iterator-unittest.cc Loading commit data...
eh-frame-writer-unittest.cc Loading commit data...
locked-queue-unittest.cc Loading commit data...
object-unittest.cc Loading commit data...
register-configuration-unittest.cc Loading commit data...
run-all-unittests.cc Loading commit data...
source-position-table-unittest.cc Loading commit data...
test-helpers.cc Loading commit data...
test-helpers.h Loading commit data...
test-utils.cc Loading commit data...
test-utils.h Loading commit data...
unicode-unittest.cc Loading commit data...
unittests.gyp Loading commit data...
unittests.isolate Loading commit data...
unittests.status Loading commit data...
value-serializer-unittest.cc Loading commit data...