Classes | Namespaces | Functions

Allocator.h File Reference

Classes

class  nanojit::Allocator
 Allocator is a bump-pointer allocator with an SPI for getting more memory from embedder-implemented allocator, such as malloc()/free(). More...
class  nanojit::Allocator::Chunk

Namespaces

namespace  nanojit
 

Fundamentally, the arguments to the various operands can be grouped along two dimensions.


Functions

void * operator new (size_t size, nanojit::Allocator &a)
 global new overload enabling this pattern: new (allocator) T(...)
void * operator new (size_t size, nanojit::Allocator *a)
 global new overload enabling this pattern: new (allocator) T(...)
void * operator new[] (size_t size, nanojit::Allocator &a)
 global new[] overload enabling this pattern: new (allocator) T[]
void * operator new[] (size_t size, nanojit::Allocator *a)
 global new[] overload enabling this pattern: new (allocator) T[]

Function Documentation

void* operator new ( size_t  size,
nanojit::Allocator a 
) [inline]

global new overload enabling this pattern: new (allocator) T(...)

void* operator new ( size_t  size,
nanojit::Allocator a 
) [inline]

global new overload enabling this pattern: new (allocator) T(...)

void* operator new[] ( size_t  size,
nanojit::Allocator a 
) [inline]

global new[] overload enabling this pattern: new (allocator) T[]

void* operator new[] ( size_t  size,
nanojit::Allocator a 
) [inline]

global new[] overload enabling this pattern: new (allocator) T[]