• 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
..
OWNERS Loading commit data...
allocation-tracker.cc Loading commit data...
allocation-tracker.h Loading commit data...
circular-queue-inl.h Loading commit data...
circular-queue.h Loading commit data...
cpu-profiler-inl.h Loading commit data...
cpu-profiler.cc Loading commit data...
cpu-profiler.h Loading commit data...
heap-profiler.cc Loading commit data...
heap-profiler.h Loading commit data...
heap-snapshot-generator-inl.h Loading commit data...
heap-snapshot-generator.cc Loading commit data...
heap-snapshot-generator.h Loading commit data...
profile-generator-inl.h Loading commit data...
profile-generator.cc Loading commit data...
profile-generator.h Loading commit data...
profiler-listener.cc Loading commit data...
profiler-listener.h Loading commit data...
sampling-heap-profiler.cc Loading commit data...
sampling-heap-profiler.h Loading commit data...
strings-storage.cc Loading commit data...
strings-storage.h Loading commit data...
tick-sample.cc Loading commit data...
tick-sample.h Loading commit data...
tracing-cpu-profiler.cc Loading commit data...
tracing-cpu-profiler.h Loading commit data...
unbound-queue-inl.h Loading commit data...
unbound-queue.h Loading commit data...