X64: Change kSmiConstantRegister to r12.
authorlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 10 Mar 2011 10:14:24 +0000 (10:14 +0000)
committerlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 10 Mar 2011 10:14:24 +0000 (10:14 +0000)
commitd57a8b0a07b67d0aefaa7323fcfa94f82364acf5
tree473ffac59c96e969988f680b7d04884e9fc907b0
parent34c399d20508499b6ffa7e03053afda92572fd2d
X64: Change kSmiConstantRegister to r12.

We never use the smi register in places where it matters that r12 as
a base register needs an extra SIB byte. Might as well free up the
unencumbered r15 register instead.

Review URL: http://codereview.chromium.org/6647015

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7113 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/x64/assembler-x64.cc
src/x64/assembler-x64.h
src/x64/code-stubs-x64.cc
src/x64/codegen-x64.cc
src/x64/macro-assembler-x64.cc
src/x64/macro-assembler-x64.h
src/x64/register-allocator-x64-inl.h
test/cctest/test-assembler-x64.cc
test/cctest/test-macro-assembler-x64.cc