Fix array allocation in generated code on x64
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 12 Feb 2010 13:49:57 +0000 (13:49 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 12 Feb 2010 13:49:57 +0000 (13:49 +0000)
commitf937e7daa5c64de98920a5bd5363017aa11d6038
treee61de05298901bebba31d81c6bfdfb16dc68f983
parent2e6ab729efd29865b09b5b1da350a2bc0aa2b1fe
Fix array allocation in generated code on x64

The porting of array allocation in generated code from ia32 to x64 wrongly assumed that a smi contained the actual number times 2. Removed the constant times_half_pointer_size, as it will probably not be needed.
Review URL: http://codereview.chromium.org/596084

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3845 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/x64/assembler-x64.h
src/x64/builtins-x64.cc