Simplify Array.splice by simply returning the result of AllocateEmptyJSArray.
authorricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 31 Aug 2010 10:39:12 +0000 (10:39 +0000)
committerricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 31 Aug 2010 10:39:12 +0000 (10:39 +0000)
commitcd5224589001449aabc1367a523e2aa1f7ec749e
tree2351f74571aee33b39c1c14a6aa0aa727e700b73
parenta9641176fdf98f1c39d111ad17b3adab34d6c435
Simplify Array.splice by simply returning the result of AllocateEmptyJSArray.

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

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