• Victor Gomes's avatar
    [runtime] Adds LocalNameIterator · f605d778
    Victor Gomes authored
    ScopeInfo will contain either inlined (array) local names or
    a hash table (names => index) containing the local names.
    
    We abstract iteration with LocalNameIterator and remove
    ContextLocalName since accessing a local name by index in
    the hash table would be expensive.
    
    This CL only implements the iterator for the array.
    
    Bug: v8:12315
    Change-Id: I2c62802652fca1cf47815ce8768a3f7487f2c39f
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3386603Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
    Commit-Queue: Victor Gomes <victorgomes@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#78623}
    f605d778
Name
Last commit
Last update
..
DIR_METADATA Loading commit data...
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...