DescriptionPPC: [for-in] Ensure that we learn from deopts within for-in loop bodies.
Port 0637f5f64c3bc5d8fc930e65730b7d86cce7a74c
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
Committed: https://crrev.com/0dc1e186e08627054a1113d247c6a5579e67b5c3
Cr-Commit-Position: refs/heads/master@{#33617}
Patch Set 1 #
Messages
Total messages: 11 (4 generated)
|