Fix GCMole warning

R=adamk@chromium.org
TBR=mstarzinger@chromium.org
LOG=N

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17763 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
rafaelw@chromium.org 2013-11-14 20:51:18 +00:00
parent ee575e8f88
commit 5e8e9cd408

View File

@ -12231,7 +12231,8 @@ Handle<Object> JSObject::SetFastElement(Handle<JSObject> object,
: FAST_ELEMENTS;
UpdateAllocationSite(object, kind);
object->set_map(*GetElementsTransitionMap(object, kind));
Handle<Map> new_map = GetElementsTransitionMap(object, kind);
object->set_map(*new_map);
ASSERT(IsFastObjectElementsKind(object->GetElementsKind()));
}
// Increase backing store capacity if that's been decided previously.