Lines Matching defs:object

71     // meet the minimum location of the first object.
141 // If we're adding a new object, also assume that it will have to be emitted
142 // before the object we are considering to skip.
163 const PoolObject<T>* object) {
164 checkpoint -= object->label_base_->GetPoolObjectSizeInBytes();
165 if (checkpoint > object->max_location_) checkpoint = object->max_location_;
166 checkpoint = AlignDown(checkpoint, object->alignment_);
216 // Check if the object is already being tracked.
229 // Create a temporary object.
246 // The current object can be placed at the end of the pool, even if the last
247 // object is placed at the last possible location.
249 // The current object can be placed after the code we are about to emit and
261 // Will temp be the last object in objects_?
281 // temp is the object with the smallest max_location_.
297 // min_location_ of the first object, calculating the end of the pool as if
299 // maximum object alignment found minus one (which is the maximum extra
321 // Bring back the checkpoint by the size of the current object, unless
368 PoolObject<T>* object = GetObjectIfTracked(label_base);
370 if (object == NULL) {
377 object->RestrictRange(reference->min_object_location_,
379 object->RestrictAlignment(reference->object_alignment_);
381 // Move the object, if needed.
383 PoolObject<T> new_object(*object);
384 ptrdiff_t distance = std::distance(objects_.data(), object);
389 // No need to sort, we inserted the object in an already sorted array.
396 // Place the object in the right position.
411 void PoolManager<T>::RemoveAndDelete(PoolObject<T>* object) {
414 if (current.label_base_ == object->label_base_) {
425 PoolObject<T>& object = *iter;
426 LocationBase<T>* label_base = object.label_base_;
428 // Check if we also need to delete the LocationBase object.
446 LocationBase<T>* object,
448 PoolObject<T>* existing_object = GetObjectIfTracked(object);
452 alignment = object->GetMaxAlignment();
453 min_location = object->GetMinLocation();
468 object->SetLocation(masm->AsAssemblerBase(), location);
469 object->MarkBound();
473 // No need to sort, we removed the object from a sorted array.
499 // objects, we will check in the destructor of the object itself.