• Igor Sheludko's avatar
    [parser] Improve propagation of SharedFunctionInfo::has_shared_name(). · 328afeeb
    Igor Sheludko authored
    The initial implementation did not work in certain cases.
    For example, in the following case 'f' didn't have a shared name while
    it should have had an empty shared name:
      var f = (function() { return function() { return 42; } }();
    
    The new implementation ensures that all anonymous functions have empty
    shared name and if any of them happen to be an object literal property
    value or an accessor function or a concise method then such a function
    is marked as having no shared name.
    
    Bug: v8:6459
    Change-Id: I0f936afce0c152d91b2b41c1dc475a5ed841eca0
    Reviewed-on: https://chromium-review.googlesource.com/538666Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
    Commit-Queue: Igor Sheludko <ishell@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#46026}
    328afeeb
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...