• mstarzinger's avatar
    [turbofan] Mark {JSCreate} as potentially throwing. · e34f5366
    mstarzinger authored
    This correctly marks the {JSCreate} operator as potentially throwing,
    since it might trigger a property access of the 'prototype' property
    during instantiation. This is observable, can throw (not kNoThrow),
    might have side-effects (not kNoWrite), or even trigger a lazy deopt
    event (not kNoDeopt). The inlining logic has been adapted to wire up
    control projections accordingly.
    
    Note that this does not yet take care of the "after" frame-state which
    is associated with the {JSCreate} node introduced by the inliner. We
    still might re-evaluate the property access upon lazy deoptimization.
    
    R=bmeurer@chromium.org
    TEST=mjsunit/regress/regress-5638
    BUG=v8:5638
    
    Review-Url: https://codereview.chromium.org/2671203003
    Cr-Commit-Position: refs/heads/master@{#42981}
    e34f5366
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...