• Mike Stanton's avatar
    Reland "Introduce a PREMONOMORPHIC state to StoreGlobalIC" · 7179cdb1
    Mike Stanton authored
    (Fixed test failure in lite-mode)
    
    Introduce a PREMONOMORPHIC state to StoreGlobalIC
    
    It's used rather narrowly for now -- only when we run into an
    interceptor during the lookup. After the call to SetProperty, we know
    more. That is, the interceptor was only there because it's a new
    property, and the call to SetProperty ends up creating it.
    
    By delaying the initialization of the IC, we recognize the (now)
    created property, and can provide good feedback downstream to
    TurboFan.
    
    TBR=ishell@chromium.org
    
    Bug: v8:8712
    Change-Id: Ieb79dcf1354ee294ad0f479a4a6c41a77f389850
    Reviewed-on: https://chromium-review.googlesource.com/c/1460955Reviewed-by: 's avatarMichael Stanton <mvstanton@chromium.org>
    Commit-Queue: Michael Stanton <mvstanton@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#59483}
    7179cdb1
counters.h 72.8 KB