diff --git a/src/objects/js-objects.cc b/src/objects/js-objects.cc index 12b4a22651..b9942db50d 100644 --- a/src/objects/js-objects.cc +++ b/src/objects/js-objects.cc @@ -2795,6 +2795,7 @@ void MigrateFastToFast(Isolate* isolate, Handle object, index, HeapNumber::cast(value).value_as_bits()); if (i < old_number_of_fields && !old_map->IsUnboxedDoubleField(index)) { // Transition from tagged to untagged slot. + heap->ClearRecordedSlot(*object, object->RawField(index.offset())); MemoryChunk* chunk = MemoryChunk::FromHeapObject(*object); chunk->InvalidateRecordedSlots(*object); } else {