Fix C++ type of Factory::NewFixedDoubleArray.
authorjarin@chromium.org <jarin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 24 Apr 2014 05:29:00 +0000 (05:29 +0000)
committerjarin@chromium.org <jarin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 24 Apr 2014 05:29:00 +0000 (05:29 +0000)
commit8c57b45042e2b458f831f514b0f17a24dc351fc9
tree72f14268e1d933218c92022f82dcbc3d57c95958
parent4591771820036951b6433d9b68d00507a44d4af1
Fix C++ type of Factory::NewFixedDoubleArray.

The change fixes the C++ type of Factory::NewFixedDoubleArray to
reflect the empty array case, where we return an empty
FixedArray (rather than FixedDoubleArray).

R=mvstanton@chromium.org
BUG=

Review URL: https://codereview.chromium.org/249593002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20918 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/builtins.cc
src/factory.cc
src/factory.h
src/runtime.cc
test/mjsunit/regress/regress-empty-fixed-double-array.js [new file with mode: 0644]