• bmeurer's avatar
    [turbofan] No need to load the feedback vector on the JS graph level. · 9ee47bbc
    bmeurer authored
    Fix JSLoadGlobal/JSStoreGlobal, JSLoadNamed/JSStoreNamed and
    JSLoadProperty/JSStoreProperty to take the current function closure
    instead of the type feedback as input, and load the feedback vector
    from the closure as required (in JSGenericLowering). There's still
    JSLoadDynamic left to be done, and then we don't have any machine
    operators in the initial JS graph left.
    
    There'll be more refactoring on the JSGenericLowering in a follow-up
    CL, which takes care of the current code duplication and also tries
    to use the more efficient LoadIC/KeyedLoadIC instead of the current
    LoadICInOptimizedCode/KeyedLoadICInOptimizedCode (and same for store
    ICs) whenever possible.
    
    R=jarin@chromium.org
    
    Review URL: https://codereview.chromium.org/1683043002
    
    Cr-Commit-Position: refs/heads/master@{#33854}
    9ee47bbc
js-generic-lowering.cc 37.3 KB