Don't leak inobject space when transforming to fast properties without descriptors.
Review URL: https://chromiumcodereview.appspot.com/10828112 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12241 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
3bb994c4e4
commit
bc86ec4d5f
@ -12577,7 +12577,7 @@ MaybeObject* StringDictionary::TransformPropertiesToFastFor(
|
||||
if (instance_descriptor_length == 0) {
|
||||
ASSERT_LE(unused_property_fields, inobject_props);
|
||||
// Transform the object.
|
||||
new_map->set_unused_property_fields(unused_property_fields);
|
||||
new_map->set_unused_property_fields(inobject_props);
|
||||
obj->set_map(new_map);
|
||||
obj->set_properties(heap->empty_fixed_array());
|
||||
// Check that it really works.
|
||||
|
Loading…
Reference in New Issue
Block a user