• Jakob Gruber's avatar
    [nci] Add Construct_WithFeedback builtin · 69f42d40
    Jakob Gruber authored
    This builtin essentially acts like InterpreterAssembler::Construct. It
    collects full feedback, then tail-calls either the array constructor
    or the construct builtin.
    
    For now, it is only used in generic lowering, if the --turbo-nci flag
    is passed. One of the next steps will be to measure performance impact
    of feedback collection. If minimal, we may want to enable it
    unconditionally in generic lowering.
    
    Bug: v8:8888
    Change-Id: I8a460a2b5954c26fa72658045a8423c5eee6b611
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2198775
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
    Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
    Auto-Submit: Jakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#67850}
    69f42d40
builtins-constructor-gen.cc 30.5 KB