Fix mozilla and debug check failures.
authorricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 31 Aug 2010 07:31:25 +0000 (07:31 +0000)
committerricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 31 Aug 2010 07:31:25 +0000 (07:31 +0000)
commitf19d6133f298f704ece8ec4ff9e41e2f09a333a5
tree57c20047939376e184442f5bce0807756387cc97
parentd955b212b5b54da302f0f958c125477be3fd4012
Fix mozilla and debug check failures.

This removes the expected failure of a mozilla test that we now pass
(an empty array is returned if Array.splice is called with no
arguments) and fixes debug check failure by allocating a new empty
array using AllocateEmptyArray if splice is called with zero arguments
(makes sure we can always create a handle).

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

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