• bmeurer's avatar
    [turbofan] Allow to consume feedback on CallConstruct. · a61a6f99
    bmeurer authored
    Add an eager deoptimization location for JSCallConstruct and adapt the
    JSCallReducer to consume target feedback for construction sites (only
    applies to explicit new F(...args) not the super constructor calls).
    Also recognize the new Array(...args) constructs with only target
    feedback.
    
    R=jarin@chromium.org
    BUG=v8:4470
    LOG=n
    
    Review URL: https://codereview.chromium.org/1467173002
    
    Cr-Commit-Position: refs/heads/master@{#32177}
    a61a6f99
js-call-reducer.cc 21 KB