• bmeurer's avatar
    [crankshaft] Don't bailout on uninitialized access to arguments object. · 380a0207
    bmeurer authored
    When Crankshaft compiles a keyed load to arguments, it disabled
    optimization unless the KEYED_LOAD_IC for the access was monomorphic.
    But that's too restrictive, since it will also disable optimization
    for this function when the access is on a path that was never executed
    so far.
    
    This was spotted in the Node.js core function EventEmitter.prototype.emit,
    which was no longer optimizable with Crankshaft using latest V8.
    
    R=jarin@chromium.org
    BUG=v8:5790
    
    Review-Url: https://codereview.chromium.org/2607303002
    Cr-Commit-Position: refs/heads/master@{#42005}
    380a0207
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...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
unittests 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...