Make sure when we shrink an object that we store a filler first into the free memory...
authorhpayer@chromium.org <hpayer@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 31 Mar 2014 14:29:01 +0000 (14:29 +0000)
committerhpayer@chromium.org <hpayer@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 31 Mar 2014 14:29:01 +0000 (14:29 +0000)
commit702ba5a0e9b347c704079a97303924856f170f0e
tree1ab187811b7cbbcd4ed872b5dcda53224d23ef3d
parent019e27d8dbba828ef69b1008ccebdcf7c3e05a77
Make sure when we shrink an object that we store a filler first into the free memory before updating the map or size.

BUG=
R=jarin@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20361 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/builtins.cc
src/elements.cc
src/objects-inl.h
src/objects.cc
src/objects.h
src/runtime.cc