DescriptionX87: [turbofan] First step towards sanitizing for-in and making it optimizable.
port e2e47f30be06e6ea6b8a3cc90138381914ecd07d (r28711)
original commit message:
[turbofan] First step towards sanitizing for-in and making it optimizable.
In a nutshell: The FILTER_KEY builtin is gone, and was replaced by a
simple runtime call to ForInFilter, which does everything and is even
cheaper (because FILTER_KEY used to call into the runtime anyway).
And ForInFilter returns either the name or undefined, which makes it
possible to remove the control flow construction from the AstGraphBuilder,
and thereby make both the initialization and the per-loop code of for-in
optimizable later (in typed lowering).
BUG=
Committed: https://crrev.com/388429e97c84a1320eef37cf6b5b26cb8e6ad3e0
Cr-Commit-Position: refs/heads/master@{#28748}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|