• Leszek Swirski's avatar
    [ast] Pre-walk array literals to detect all-doubles · dabc6eb5
    Leszek Swirski authored
    When buildin an array boilerplate description, we currently walk the
    array literal as if it had tagged pointers, and post-hoc copy it to
    a FixedDoubleArray if it had double elements kind.
    
    Now, we calculate the elements kind during the InitDepthAndFlags walk,
    and if the elements kind is Double, we allocate a FixedDoubleArray to
    start with, and convert the elements of the array literal directly to
    unboxed doubles in the array.
    
    Change-Id: I56561e0af2236e785498eb70cb37eddcb09a56ca
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2002529
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#65817}
    dabc6eb5
Name
Last commit
Last update
..
OWNERS Loading commit data...
ast-function-literal-id-reindexer.cc Loading commit data...
ast-function-literal-id-reindexer.h Loading commit data...
ast-source-ranges.h Loading commit data...
ast-traversal-visitor.h Loading commit data...
ast-value-factory.cc Loading commit data...
ast-value-factory.h Loading commit data...
ast.cc Loading commit data...
ast.h Loading commit data...
modules.cc Loading commit data...
modules.h Loading commit data...
prettyprinter.cc Loading commit data...
prettyprinter.h Loading commit data...
scopes.cc Loading commit data...
scopes.h Loading commit data...
source-range-ast-visitor.cc Loading commit data...
source-range-ast-visitor.h Loading commit data...
variables.cc Loading commit data...
variables.h Loading commit data...