2022-11-20 05:07:22 +00:00
|
|
|
#ifndef COMPILER_IROMALLOC_H
|
|
|
|
#define COMPILER_IROMALLOC_H
|
|
|
|
|
2022-12-14 00:16:59 +00:00
|
|
|
#include "compiler/IrOptimizer.h"
|
|
|
|
|
|
|
|
extern size_t IRO_msize(void *buf);
|
|
|
|
extern void *IRO_malloc(size_t size);
|
|
|
|
extern void IRO_free(void *buf);
|
|
|
|
extern void *IRO_realloc(void *buf, size_t newsize);
|
|
|
|
extern void *IRO_calloc(size_t a, size_t b);
|
|
|
|
extern void IRO_pool_free_all(void);
|
|
|
|
extern void IRO_InitializeAllocator(void);
|
|
|
|
extern void IRO_TerminateAllocator(void);
|
2022-11-20 05:07:22 +00:00
|
|
|
|
|
|
|
#endif
|