Lines Matching defs:cell
797 GlobalPropertyDependency(const PropertyCellRef& cell, PropertyCellType type,
800 cell_(cell),
808 Handle<PropertyCell> cell = cell_.object();
809 // The dependency is never valid if the cell is 'invalidated'. This is
811 if (cell->value() == *(cell_.isolate()->factory()->the_hole_value())) {
814 return type_ == cell->property_details().cell_type() &&
815 read_only_ == cell->property_details().IsReadOnly();
841 explicit ProtectorDependency(const PropertyCellRef& cell)
842 : CompilationDependency(kProtector), cell_(cell) {}
845 Handle<PropertyCell> cell = cell_.object();
846 return cell->value() == Smi::FromInt(Protectors::kProtectorValid);
1091 const PropertyCellRef& cell) {
1092 PropertyCellType type = cell.property_details().cell_type();
1093 bool read_only = cell.property_details().IsReadOnly();
1094 RecordDependency(zone_->New<GlobalPropertyDependency>(cell, type, read_only));
1097 bool CompilationDependencies::DependOnProtector(const PropertyCellRef& cell) {
1098 cell.CacheAsProtector();
1099 if (cell.value().AsSmi() != Protectors::kProtectorValid) return false;
1100 RecordDependency(zone_->New<ProtectorDependency>(cell));