• bmeurer's avatar
    [turbofan] Replace uninitialized JSConstruct nodes with SOFT deopt. · fd24deb0
    bmeurer authored
    Similar to JSCall, we can also replace uninitialized JSConstruct nodes
    with SOFT deopts to ensure that we don't generate unnecessary dead code.
    This for example shows up in the hot parts of the Node event emitter
    currently where the generic code for handling events with 4 or more
    parameters might not have been run, but we still generate most of the
    code because the new Array call in the beginning is not turned into
    a SOFT deopt immediately.
    
    Drive-by-fix: Also refactor the BytecodeGraphBuilder's handling of
    Construct bytecodes a bit to reduce the amount of code duplication.
    
    BUG=v8:4551, v8:5267
    R=jarin@chromium.org
    
    Review-Url: https://codereview.chromium.org/2958253002
    Cr-Commit-Position: refs/heads/master@{#46339}
    fd24deb0
Name
Last commit
Last update
..
dead-code-source-position.js Loading commit data...
ignition-statistics-extension.js Loading commit data...
optimized-stack-trace.js Loading commit data...
osr-from-bytecode.js Loading commit data...
osr-from-generator.js Loading commit data...
regress-597565-double-to-object-transition.js Loading commit data...
regress-599001-verifyheap.js Loading commit data...
regress-612386-smi-to-double-transition.js Loading commit data...
regress-616064.js Loading commit data...
regress-629792-source-position-on-jump.js Loading commit data...
regress-662418.js Loading commit data...
regress-664146.js Loading commit data...
regress-672027.js Loading commit data...
stack-trace-source-position.js Loading commit data...
throw-if-hole.js Loading commit data...
throw-if-not-hole.js Loading commit data...
throw-super-not-called.js Loading commit data...
tracing.js Loading commit data...