• mbrandy's avatar
    PPC: [for-in] Ensure that we learn from deopts within for-in loop bodies. · 0dc1e186
    mbrandy authored
    Port 0637f5f6
    
    Original commit message:
        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=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
    BUG=v8:3650
    LOG=n
    
    Review URL: https://codereview.chromium.org/1644383002
    
    Cr-Commit-Position: refs/heads/master@{#33617}
    0dc1e186
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
x64 Loading commit data...
x87 Loading commit data...
OWNERS Loading commit data...
full-codegen.cc Loading commit data...
full-codegen.h Loading commit data...