28 #ifndef V8_ZONE_ALLOCATOR_H_
29 #define V8_ZONE_ALLOCATOR_H_
52 : zone_(other.zone_) {}
54 : zone_(other.zone_) {}
69 return (max > 0 ? max : 1);
72 new(
static_cast<void*
>(p))
T(val);
77 return zone_ == other.zone_;
80 return zone_ != other.zone_;
90 #endif // V8_ZONE_ALLOCATOR_H_
bool operator==(zone_allocator const &other)
zone_allocator(const zone_allocator< U > &other)
const T & const_reference
size_type max_size() const
bool operator!=(zone_allocator const &other)
pointer allocate(size_type count, const void *hint=0)
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object size
zone_allocator(const zone_allocator &other)
zone_allocator< O > other
zone_allocator(Zone *zone)
ptrdiff_t difference_type
pointer address(reference x) const
T RoundUp(T x, intptr_t m)
#define T(name, string, precedence)
const_pointer address(const_reference x) const
void construct(pointer p, const T &val)
void deallocate(pointer p, size_type)