• bmeurer's avatar
    [turbofan] Make sure that CallIC feedback actually helps. · eb5f06de
    bmeurer authored
    Don't just blindly bake in CallIC feedback in the JSCallReducer,
    but instead try to estimate first whether it makes sense to bake
    it in (and risk potential eager deoptimization exits). We already
    didn't use the CallIC feedback when the call target is a known
    constant, but we should also not use it if the target is a
    JSCreateClosure node or a Phi of known constants / JSCreateClosure
    nodes.
    
    R=jarin@chromium.org
    BUG=v8:5267
    
    Review-Url: https://codereview.chromium.org/2721483003
    Cr-Commit-Position: refs/heads/master@{#43443}
    eb5f06de
js-call-reducer.cc 34.2 KB