зеркало из https://github.com/mozilla/gecko-dev.git
Adjust prefix files for the new allocators.
This commit is contained in:
Родитель
4b3fa6114d
Коммит
5e512d94a3
|
@ -17,8 +17,9 @@
|
|||
*/
|
||||
|
||||
//
|
||||
// Debug specific defines for the JavaRuntime
|
||||
// Specific defines for the Memory allocator
|
||||
//
|
||||
|
||||
|
||||
#include "MemAllocatorConfig.h"
|
||||
|
||||
|
|
|
@ -16,5 +16,34 @@
|
|||
* Reserved.
|
||||
*/
|
||||
|
||||
#include <Types.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "IDE_Options.h"
|
||||
#include "DefinesMac.h"
|
||||
#include "DefinesMac.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
/* Debug macros and switches */
|
||||
|
||||
#define DEBUG_HEAP_INTEGRITY 1
|
||||
#define STATS_MAC_MEMORY 0
|
||||
|
||||
#define MEM_ASSERT(condition, message) ((condition) ? ((void)0) : DebugStr("\p"message))
|
||||
|
||||
|
||||
|
||||
|
||||
#else
|
||||
|
||||
/* Non-debug macros and switches */
|
||||
#define DEBUG_HEAP_INTEGRITY 0
|
||||
#define STATS_MAC_MEMORY 0
|
||||
|
||||
|
||||
|
||||
#define MEM_ASSERT(condition, message) ((void)0)
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -17,10 +17,10 @@
|
|||
*/
|
||||
|
||||
//
|
||||
// Debug specific defines for the JavaRuntime
|
||||
// Debug specific defines for the Memory allocators
|
||||
//
|
||||
|
||||
#define DEBUG 1
|
||||
#define TRACING 1
|
||||
|
||||
#include "MemAllocatorConfig.h"
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче