DescriptionPPC: [for-in] Sanitize for-in optimizations and fix bailout points.
Port f48bf12f5ea99a9d01d390c0c7f51dc85a87f1cd
Original commit message:
The PrepareId bailout location was used incorrectly in Crankshaft and,
as it turns out, is not required anyway (once you do it right). Also
there was some premature optimization going on with the CheckEnumCache
(trying to load null from roots only once), plus we can be smarter about
the null/undefined check anyway.
The idea behind this changes is to prepare unification of the two
different ForInPrepare implementations that we now have, with the end
result being that we only use the new implementation that was recently
added for the interpreter.
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/cbc0564037991a69975edb0e3fdc33df9cf472c0
Cr-Commit-Position: refs/heads/master@{#33447}
Patch Set 1 #Patch Set 2 : Rebase #
Messages
Total messages: 16 (7 generated)
|