5#ifndef V8_ZONE_ZONE_ALLOCATOR_H_
6#define V8_ZONE_ZONE_ALLOCATOR_H_
53 return zone_ == other.zone_;
56 return zone_ != other.zone_;
83 T* return_val =
reinterpret_cast<T*
>(
free_list_);
91 if ((
sizeof(T) * n <
sizeof(
FreeBlock)))
return;
100 new_free_block->
size =
n;
RecyclingZoneAllocator(const RecyclingZoneAllocator< U > &other) V8_NOEXCEPT
RecyclingZoneAllocator(Zone *zone)
void deallocate(T *p, size_t n)
T * allocate(size_t length)
bool operator!=(ZoneAllocator const &other) const
void deallocate(T *p, size_t length)
bool operator==(ZoneAllocator const &other) const
ZoneAllocator(Zone *zone)
ZoneAllocator(const ZoneAllocator< U > &other) V8_NOEXCEPT
bool supports_compression() const
T * AllocateArray(size_t length)
void DeleteArray(T *pointer, size_t length)
#define DCHECK_IMPLIES(v1, v2)
#define DCHECK(condition)