• Igor Sheludko's avatar
    [parser] Introduce SharedFunctionInfo::has_shared_name(). · 9a2c18f5
    Igor Sheludko authored
    Properly propagate the fact that the function has a statically known name from
    parser to SharedFunctionInfo objects. The empty string that has been set as
    name before this CL does not help to distinguish cases like:
      var o1 = { ''(){} };
      var o1 = { [foo()](){} };
    or
      var o2 = { get ''(){} };
      var o2 = { get [foo()](){} };
    
    This is a preliminary step for using different layouts for closure objects with
    and without computed names.
    
    TBR=bmeurer@chromium.org, marja@chromium.org
    
    Bug: v8:6459
    Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
    Change-Id: I10afa6f4bda7881c3714711a75f720f83c1d875d
    Reviewed-on: https://chromium-review.googlesource.com/522073
    Commit-Queue: Igor Sheludko <ishell@chromium.org>
    Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#45744}
    9a2c18f5
Name
Last commit
Last update
..
code-cache-inl.h Loading commit data...
code-cache.h Loading commit data...
compilation-cache-inl.h Loading commit data...
compilation-cache.h Loading commit data...
debug-objects-inl.h Loading commit data...
debug-objects.cc Loading commit data...
debug-objects.h Loading commit data...
descriptor-array.h Loading commit data...
dictionary.h Loading commit data...
frame-array-inl.h Loading commit data...
frame-array.h Loading commit data...
hash-table.h Loading commit data...
intl-objects.cc Loading commit data...
intl-objects.h Loading commit data...
literal-objects.cc Loading commit data...
literal-objects.h Loading commit data...
map-inl.h Loading commit data...
map.h Loading commit data...
module-info.h Loading commit data...
object-macros-undef.h Loading commit data...
object-macros.h Loading commit data...
regexp-match-info.h Loading commit data...
scope-info.cc Loading commit data...
scope-info.h Loading commit data...
script-inl.h Loading commit data...
script.h Loading commit data...
shared-function-info-inl.h Loading commit data...
shared-function-info.h Loading commit data...
string-table.h Loading commit data...