DescriptionReduce the amount of full code generated to fill out array literals.
This is achieved by tuning the calling convention of StoreArrayLiteralStub:
* The map of the array literal can be loaded in the stub from the
array literal itself, there is no need to pass it at all.
* The array literal is already on the stack, so there is no need to
pass it again via a register.
* The literal index is unchanged while filling the literal, so we can
push it on the stack once and avoid passing it every time. Note that
we need to mirror this change in the stack layout in crankshaft, too.
R=mstarzinger@chromium.org
Committed: http://code.google.com/p/v8/source/detail?r=15138
Patch Set 1 #
Total comments: 4
Patch Set 2 : Feedback. Rebased. #
Messages
Total messages: 4 (0 generated)
|