Chromium Code Reviews| Index: src/objects.cc |
| diff --git a/src/objects.cc b/src/objects.cc |
| index 702d8a222dcdd8ee31d06fec4206eaf3d6445c33..cd897970b9720b554a22313fc10dd05b67c53f02 100644 |
| --- a/src/objects.cc |
| +++ b/src/objects.cc |
| @@ -2350,6 +2350,11 @@ Handle<Map> Map::CopyGeneralizeAllRepresentations(Handle<Map> map, |
| unused_property_fields += JSObject::kFieldsAdded; |
| } |
| new_map->set_unused_property_fields(unused_property_fields); |
| + } else if (details.attributes() != attributes) { |
| + FieldDescriptor d(handle(descriptors->GetKey(modify_index), isolate), |
|
rossberg
2014/07/11 12:54:48
Hm, how exactly is this related to the rest of the
Toon Verwaest
2014/07/14 07:39:55
Not at all. It's not part of this CL, and an impro
|
| + details.field_index(), attributes, |
| + Representation::Tagged()); |
| + descriptors->Replace(modify_index, &d); |
| } |
| if (FLAG_trace_generalization) { |