Chromium Code Reviews
DescriptionAdd for-of Crankshaft support
This commit adds crankshaft support for for-of. It can be disabled with
--nooptimize-for-of. Of course for-of is only enabled with
--harmony-iteration.
I had moved around the loop bailout ID in the full-codegen to be more
like "while" loops. I also had to give positions for the keyed calls
and property loads.
R=mstarzinger@chromium.org
BUG=
TEST=mjsunit/harmony/iteration-optimization.js
Patch Set 1 #Patch Set 2 : Add null/undefined check in crankshaft. #Patch Set 3 : Rebase onto master; fix AstTyper for ForOfStatement #
Messages
Total messages: 2 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||