Use a root array register for constant loads and stack guards on x64.
authorerik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 31 Aug 2009 08:57:36 +0000 (08:57 +0000)
committererik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 31 Aug 2009 08:57:36 +0000 (08:57 +0000)
commit369214c15987715c8794c1c70ba9bc0b2829a36a
tree369ef5ae384642378077feda50125bf6fa8805c3
parent5ce6842dd973994a736a9f5f80975b79537d5a9c
Use a root array register for constant loads and stack guards on x64.
This only wins us around 1% in performance, but it makes the code more
compact.  We don't currently have a way to represent in the virtual
frame that a slot contains a value from the root array.  Adding this
would probably make the code more compact.
Review URL: http://codereview.chromium.org/174639

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2783 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
13 files changed:
src/heap.cc
src/heap.h
src/x64/builtins-x64.cc
src/x64/cfg-x64.cc
src/x64/codegen-x64.cc
src/x64/ic-x64.cc
src/x64/macro-assembler-x64.cc
src/x64/macro-assembler-x64.h
src/x64/register-allocator-x64-inl.h
src/x64/register-allocator-x64.h
src/x64/stub-cache-x64.cc
src/x64/virtual-frame-x64.cc
src/x64/virtual-frame-x64.h