Bug 123584 JavaScript engine should use malloc/realloc/free consistently

Removing the unused JS_MALLOC macro per brendan
This commit is contained in:
timeless%mozdev.org 2004-02-25 14:05:29 +00:00
Родитель df707c9788
Коммит 2119ac88aa
1 изменённых файлов: 0 добавлений и 10 удалений

Просмотреть файл

@ -46,16 +46,6 @@
JS_BEGIN_EXTERN_C
/***********************************************************************
** FUNCTION: JS_MALLOC()
** DESCRIPTION:
** JS_NEW() allocates an untyped item of size _size from the heap.
** INPUTS: _size: size in bytes of item to be allocated
** OUTPUTS: untyped pointer to the node allocated
** RETURN: pointer to node or error returned from malloc().
***********************************************************************/
#define JS_MALLOC(_bytes) (malloc((_bytes)))
#ifdef DEBUG
extern JS_PUBLIC_API(void)