Trim underlying fixed array by one element from the left when doing shift.
authorantonm@chromium.org <antonm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 23 Mar 2010 14:05:16 +0000 (14:05 +0000)
committerantonm@chromium.org <antonm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 23 Mar 2010 14:05:16 +0000 (14:05 +0000)
commitd1c0dd177e47e7433f30a6f0f09653306bd7b8fa
treed877aa8c56207bb68eecc6d680290f6a69c92702
parentb7833cb5f1c01fdf0e175f8a5c899211366f5dc3
Trim underlying fixed array by one element from the left when doing shift.

For now this trick is only done to objects in new space, see comments
for reasons.

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

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