43 void* result = malloc(size);
63 static void* invalid =
static_cast<void*
>(
NULL);
65 void* Embedded::operator
new(
size_t size) {
71 void Embedded::operator
delete(
void* p) {
76 void* AllStatic::operator
new(
size_t size) {
82 void AllStatic::operator
delete(
void* p) {
91 char* result = NewArray<char>(length + 1);
93 result[length] =
'\0';
100 if (n < length) length = n;
101 char* result = NewArray<char>(length + 1);
103 result[length] =
'\0';
112 ptr = _aligned_malloc(size, alignment);
116 ptr = memalign(alignment, size);
118 if (posix_memalign(&ptr, alignment, size)) ptr =
NULL;
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 Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter NULL
static void Delete(void *p)
static void * New(size_t size)
char * StrNDup(const char *str, int n)
static void FatalProcessOutOfMemory()
#define ASSERT(condition)
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
static void MemCopy(void *dest, const void *src, size_t size)
void FatalProcessOutOfMemory(const char *message)
int StrLength(const char *string)
void AlignedFree(void *ptr)
void * AlignedAlloc(size_t size, size_t alignment)
char * StrDup(const char *str)