| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index cb87347d8633eac1c9a2767e9148435b4e1f8dc9..7b60b366ea752c64bb1ea0918d15f62090cecf07 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -8819,7 +8819,8 @@ Handle<Map> Map::RawCopy(Handle<Map> map, int instance_size) {
|
| if (!map->is_dictionary_map()) {
|
| new_bit_field3 = IsUnstable::update(new_bit_field3, false);
|
| }
|
| - new_bit_field3 = Counter::update(new_bit_field3, kRetainingCounterStart);
|
| + new_bit_field3 =
|
| + ConstructionCounter::update(new_bit_field3, kNoSlackTracking);
|
| result->set_bit_field3(new_bit_field3);
|
| return result;
|
| }
|
| @@ -12093,8 +12094,7 @@ void Map::CompleteInobjectSlackTracking() {
|
| // Has to be an initial map.
|
| DCHECK(GetBackPointer()->IsUndefined());
|
|
|
| - DCHECK_GE(counter(), kSlackTrackingCounterEnd - 1);
|
| - set_counter(kRetainingCounterStart);
|
| + set_construction_counter(kNoSlackTracking);
|
|
|
| int slack = unused_property_fields();
|
| TransitionArray::TraverseTransitionTree(this, &GetMinInobjectSlack, &slack);
|
| @@ -13265,7 +13265,7 @@ void Map::StartInobjectSlackTracking() {
|
|
|
| if (unused_property_fields() == 0) return;
|
|
|
| - set_counter(Map::kSlackTrackingCounterStart);
|
| + set_construction_counter(Map::kSlackTrackingCounterStart);
|
| }
|
|
|
|
|
|
|