Home | History | Annotate | Download | only in src

Lines Matching refs:ZONE

31 #include "zone.h"
42 inline void* Zone::New(int size) {
72 T* Zone::NewArray(int length) {
77 bool Zone::excess_allocation() {
82 void Zone::adjust_segment_bytes_allocated(int delta) {
91 // in the destructor. For a zone-allocated tree, nodes will be
92 // freed by the Zone.
98 // operator that takes the zone in which the object should be
101 return ZONE->New(static_cast<int>(size));
104 void* ZoneObject::operator new(size_t size, Zone* zone) {
105 return zone->New(static_cast<int>(size));
110 return ZONE->New(size);
116 return ZONE->New(static_cast<int>(size));
121 void* ZoneList<T>::operator new(size_t size, Zone* zone) {
122 return zone->New(static_cast<int>(size));
128 isolate_->zone()->scope_nesting_++;
133 return isolate_->zone()->scope_nesting_ == 1 && mode_ == DELETE_ON_EXIT;
138 return Isolate::Current()->zone()->scope_nesting_;