in SYSTEM_MALLOC, save_heap makes no sense (as it stands).

This commit is contained in:
Vitor Santos Costa 2010-01-22 22:29:07 +00:00
parent e73b3e1a6b
commit 7854f39fb9

View File

@ -473,6 +473,9 @@ save_code_info(void)
static void static void
save_heap(void) save_heap(void)
{ {
#ifdef USE_SYSTEM_MALLOC
return;
#endif
int j; int j;
/* Then save the whole heap */ /* Then save the whole heap */
#if defined(YAPOR) || (defined(TABLING) && !defined(YAP_MEMORY_ALLOC_SCHEME)) #if defined(YAPOR) || (defined(TABLING) && !defined(YAP_MEMORY_ALLOC_SCHEME))