Lines Matching defs:cell
53 #include "src/objects/cell-inl.h"
2117 PropertyCell cell = PropertyCell::cast(*this);
2119 cell.name().ShortPrint(os);
2123 cell.value(kAcquireLoad).ShortPrint(&accumulator);
2613 // The property cell that we have created is garbage because we are going
2615 // the cell might already have been stored into the feedback vector, so
6590 Handle<PropertyCell> cell(dictionary->CellAt(entry), isolate);
6591 Handle<Name> name(cell->name(), isolate);
6592 DCHECK(cell->property_details().IsConfigurable());
6593 DCHECK(!cell->value().IsTheHole(isolate));
6595 // Swap with a new property cell.
6600 cell->ClearAndInvalidate(ReadOnlyRoots(isolate));
6604 static bool RemainsConstantType(PropertyCell cell, Object value) {
6607 if (cell.value().IsSmi() && value.IsSmi()) {
6609 } else if (cell.value().IsHeapObject() && value.IsHeapObject()) {
6611 return HeapObject::cast(cell.value()).map() == map && map.is_stable();
6623 PropertyCellType PropertyCell::UpdatedType(Isolate* isolate, PropertyCell cell,
6628 DCHECK(!cell.value().IsTheHole(isolate));
6633 if (value == cell.value()) return PropertyCellType::kConstant;
6636 if (RemainsConstantType(cell, value)) {
6665 Handle<PropertyCell> cell(raw_cell, isolate);
6668 cell = PropertyCell::InvalidateAndReplaceEntry(isolate, dictionary, entry,
6671 cell->Transition(details, value);
6679 cell->dependent_code().DeoptimizeDependentCodeGroup(
6683 return cell;