All done, Lasse, thanks a lot for review.

http://codereview.chromium.org/1695007/diff/22001/23004
File src/x64/codegen-x64.cc (right):

http://codereview.chromium.org/1695007/diff/22001/23004#newcode4446
src/x64/codegen-x64.cc:4446: return FieldOperand(array, index,
times_pointer_size,
On 2010/05/07 07:32:24, Lasse Reichstein wrote:
How about a comment here that explains the expected content of the
registers
(array: FixedArray*, index: int32).
Maybe even change additional_offset to be number of elements (instead
of
pre-multiplying by kPointerSize at the call site)?

Done.

http://codereview.chromium.org/1695007/diff/22001/23004#newcode4608
src/x64/codegen-x64.cc:4608: __ cmpq(key.reg(),
ArrayElement(cache.reg(), tmp.reg()));
On 2010/05/07 07:32:24, Lasse Reichstein wrote:
I don't think this makes much difference from using SmiIndex, except
for getting
to use ArrayElement. I would prefer to keep SmiIndex, since it would
stay
optimal even if the smi representation changes.

Of course.

http://codereview.chromium.org/1695007/show

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to