DescriptionX87: [for-in] Sanitize for-in optimizations and fix bailout points.
port f48bf12f5ea99a9d01d390c0c7f51dc85a87f1cd (r33426)
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.
BUG=
Committed: https://crrev.com/512d8286c9c2f3888783c27c3c7fd50b687b1355
Cr-Commit-Position: refs/heads/master@{#33428}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|