• bmeurer's avatar
    [turbofan] Also optimize instanceof with bound functions. · 719d6c1d
    bmeurer authored
    For bound functions on the right-hand side of instanceof we can
    constant-fold to the actual [[BoundTargetFunction]], actually
    instance OrdinaryHasInstance. Move the Function.prototype[@@hasInstance]
    reduction up to the JSCallReducer to allow this optimization to become
    effective (and also enable other optimizations).
    
    BUG=v8:5267
    R=jarin@chromium.org
    
    Review-Url: https://codereview.chromium.org/2537763002
    Cr-Commit-Position: refs/heads/master@{#41352}
    719d6c1d
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...