• bmeurer's avatar
    [for-in] Ensure that we learn from deopts within for-in loop bodies. · 0637f5f6
    bmeurer authored
    If we deoptimize from TurboFan or Crankshaft into the body of a for-in
    loop and that for-in mode then switches to slow mode (i.e. has to call
    %ForInFilter), we have to record that feedback, because otherwise we
    might actually OSR into that loop assuming that it's fast mode still,
    or even worse recompile the function later when we call it again w/o
    having rerun the for-in loop in fullcodegen from the beginning (where
    was previously the only place we could learn).
    
    R=mstarzinger@chromium.org
    BUG=v8:3650
    LOG=n
    
    Review URL: https://codereview.chromium.org/1638303008
    
    Cr-Commit-Position: refs/heads/master@{#33612}
    0637f5f6
Name
Last commit
Last update
..
full-codegen-arm64.cc Loading commit data...