Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 7839faaddf61e4234b16d6109bc9c6e1c26fde18..03e0120b0e047705ac6658891523df9461a5decc 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -2486,8 +2486,7 @@ void Map::DeprecateTransitionTree() { |
deprecate(); |
dependent_code()->DeoptimizeDependentCodeGroup( |
GetIsolate(), DependentCode::kTransitionGroup); |
- dependent_code()->DeoptimizeDependentCodeGroup( |
- GetIsolate(), DependentCode::kPrototypeCheckGroup); |
+ NotifyLeafMapLayoutChange(); |
} |
@@ -6495,6 +6494,7 @@ MaybeObject* Map::RawCopy(int instance_size) { |
new_bit_field3 = NumberOfOwnDescriptorsBits::update(new_bit_field3, 0); |
new_bit_field3 = EnumLengthBits::update(new_bit_field3, kInvalidEnumCache); |
new_bit_field3 = Deprecated::update(new_bit_field3, false); |
+ new_bit_field3 = IsUnstable::update(new_bit_field3, false); |
result->set_bit_field3(new_bit_field3); |
return result; |
} |